homebrew-core/Formula/mint.rb

26 lines
805 B
Ruby
Raw Normal View History

class Mint < Formula
desc "Dependency manager that installs and runs Swift command-line tool packages"
homepage "https://github.com/yonaskolb/Mint"
url "https://github.com/yonaskolb/Mint/archive/0.11.2.tar.gz"
sha256 "9090af8dfb6b0334e961bcd373950bf1a33fc54fad064723afd4774df8871504"
2018-03-28 16:09:59 +00:00
bottle do
cellar :any_skip_relocation
2018-08-13 11:15:41 +00:00
sha256 "aef9ebf4d33822af63de9f640914abb04ba5624ef209f664681a87b5b122ec7f" => :high_sierra
sha256 "84fbf229c3562f68a413630ab112bf8859f3cd171ccf78e3e4aaa1429141eab6" => :sierra
2018-03-28 16:09:59 +00:00
end
depends_on :xcode => ["9.2", :build]
def install
system "make", "install", "PREFIX=#{prefix}"
end
test do
# Test by showing the help scree
system "#{bin}/mint", "--help"
# Test showing list of installed tools
system "#{bin}/mint", "list"
end
end