Skip to content

Instantly share code, notes, and snippets.

@9seconds
Last active August 29, 2015 14:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 9seconds/78e68afefb2528d9b9e3 to your computer and use it in GitHub Desktop.
Save 9seconds/78e68afefb2528d9b9e3 to your computer and use it in GitHub Desktop.
HomeBrew formula for Ah
require "formula"
class Ah < Formula
homepage "https://github.com/9seconds/ah"
url "https://github.com/9seconds/ah.git", :tag => "0.13.1"
version "0.13.1"
sha1 ""
bottle do
sha1 "7563b28df830baa880731b9448e88b99dcb68420" => :mavericks
sha1 "4ecba686ae851cb091bec58aebab1c092a5edfbf" => :mountain_lion
sha1 "697f44626b6dd3152fb23d6da8272cb2359a6845" => :lion
end
depends_on "go" => :build
def install
ENV["AUTO_GOPATH"] = "1"
system "make prog-build"
bin.install "ah"
end
test do
system "#{bin}/ah", "--version"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment