21 lines
568 B
Ruby
21 lines
568 B
Ruby
|
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
|