From 2497ff030e030816b9f0151529e517e5ec4b983e Mon Sep 17 00:00:00 2001 From: Wolfgang Lutz Date: Sun, 25 Mar 2018 12:32:02 +0200 Subject: [PATCH] mint 0.7.1 (new formula) Closes #25734. Signed-off-by: FX Coudert --- Formula/mint.rb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Formula/mint.rb diff --git a/Formula/mint.rb b/Formula/mint.rb new file mode 100644 index 0000000000..db1a99bcb6 --- /dev/null +++ b/Formula/mint.rb @@ -0,0 +1,19 @@ +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.7.1.tar.gz" + sha256 "986dd967b818ee044ed0568135db8be2083ad6c3995fe6281ada9b42b224a2ec" + + 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