From 9e44867719ecd430d56dd6090be6f6553e173d58 Mon Sep 17 00:00:00 2001 From: Steven Degutis Date: Tue, 17 Nov 2015 14:31:00 -0600 Subject: [PATCH] choose-gui 1.0 (new formula) --- Formula/choose-gui.rb | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Formula/choose-gui.rb diff --git a/Formula/choose-gui.rb b/Formula/choose-gui.rb new file mode 100644 index 0000000000..5fa3765706 --- /dev/null +++ b/Formula/choose-gui.rb @@ -0,0 +1,20 @@ +class ChooseGui < Formula + desc "Fuzzy matcher that uses std{in,out} and a native GUI" + homepage "https://github.com/sdegutis/choose" + url "https://github.com/sdegutis/choose/archive/1.0.tar.gz" + sha256 "b1d16c6e143e2a9e9b306cd169ce54535689321d8f016308ff26c82c3d2931bf" + + depends_on :macos => :yosemite + depends_on :xcode => :build + + conflicts_with "choose", :because => "both install a `choose` binary" + + def install + xcodebuild "SDKROOT=", "SYMROOT=build" + bin.install "build/Release/choose" + end + + test do + system "#{bin}/choose", "-h" + end +end