Last active
December 30, 2015 11:28
-
-
Save nebhale/7822326 to your computer and use it in GitHub Desktop.
A Homebrew formula for the Cloud Foundry command line interface, gcf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
class Gcf < Formula | |
homepage 'https://github.com/cloudfoundry/cli' | |
url 'https://github.com/cloudfoundry/cli.git', :tag => 'v6.0.0-beta' | |
version '6.0.0-beta' | |
head 'https://github.com/cloudfoundry/cli.git', :branch => 'master' | |
depends_on 'go' => :build | |
def install | |
system 'bin/build' | |
bin.install 'out/gcf' | |
end | |
test do | |
system "#{bin}/gcf" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment