23 lines
807 B
Ruby
23 lines
807 B
Ruby
cask "minizincide" do
|
|
version "2.8.5"
|
|
sha256 "ca71aff993bb9db7c5c9175b724aefd8769071a09a392a19b7a3a7d06a4d0e59"
|
|
|
|
url "https://github.com/MiniZinc/MiniZincIDE/releases/download/#{version}/MiniZincIDE-#{version}-bundled.dmg",
|
|
verified: "github.com/MiniZinc/MiniZincIDE/"
|
|
name "MiniZincIDE"
|
|
desc "Open-source constraint modelling language and IDE"
|
|
homepage "https://www.minizinc.org/index.html"
|
|
|
|
conflicts_with formula: "minizinc"
|
|
depends_on macos: ">= :sierra"
|
|
|
|
app "MiniZincIDE.app"
|
|
binary "#{appdir}/MiniZincIDE.app/Contents/Resources/minizinc"
|
|
binary "#{appdir}/MiniZincIDE.app/Contents/Resources/mzn2doc"
|
|
|
|
zap trash: [
|
|
"~/Library/Preferences/org.minizinc.MiniZinc IDE (bundled).plist",
|
|
"~/Library/Saved Application State/org.minizinc.MiniZincIDE.savedState",
|
|
]
|
|
end
|