homebrew-core/Formula/choose-gui.rb

21 lines
568 B
Ruby
Raw Normal View History

2015-11-17 20:31:00 +00:00
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