Created
June 9, 2017 15:09
-
-
Save tmepple/9c2dd6d0ed2b5071a9efdb02e831e8f1 to your computer and use it in GitHub Desktop.
Simple Homebrew Formula to compile and install Goon driver.
This file contains hidden or 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
class Goon < Formula | |
desc "Goon Driver for Elixir Porcelain Library" | |
homepage "https://github.com/alco/goon" | |
url "https://github.com/alco/goon.git", :tag => "v1.1.1", :revision => "756deaad8465c4326841d8b8cbd194f724be6160" | |
head "https://github.com/alco/goon.git" | |
depends_on "go" => :build | |
def install | |
ENV["GOPATH"] = buildpath | |
system "go", "build", "-o", "goon" | |
bin.install "goon" | |
end | |
test do | |
system "#{bin}/goon", "-v" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment