Skip to content

Instantly share code, notes, and snippets.

@nebhale
Last active December 30, 2015 11:28
Show Gist options
  • Save nebhale/7822326 to your computer and use it in GitHub Desktop.
Save nebhale/7822326 to your computer and use it in GitHub Desktop.
A Homebrew formula for the Cloud Foundry command line interface, gcf
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