homebrew-core/Formula/mint.rb

26 lines
804 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.9.1.tar.gz"
sha256 "fedf979c53da9cdea9af637ecd7da097a0e0cd22642e5491c891a341a3365260"
2018-03-28 16:09:59 +00:00
bottle do
cellar :any_skip_relocation
2018-04-13 03:29:24 +00:00
sha256 "03575df015e615777d1724a2192edc5ae2d1b0e5b7ddd89d9dee01554078810f" => :high_sierra
sha256 "3cca59dd945b0994a4b26fb291fb051f238196c0dde246f793baa01b2d62eed8" => :sierra
2018-03-28 16:09:59 +00:00
end
depends_on :xcode => ["9.0", :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