Created
October 11, 2019 02:39
-
-
Save zph/4a647a5886e5e74c09e95b7aa462d5eb to your computer and use it in GitHub Desktop.
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 Mmake < Formula | |
GIT = "github.com/zph/mmake" | |
desc "Go wrapper for forked version of TJ Holowaychuk's Mmake" | |
homepage "https://#{GIT}" | |
url "https://#{GIT}.git", | |
tag: "v1.4.2" | |
head "https://#{GIT}.git" | |
depends_on "go" | |
def install | |
ENV["GOPATH"] = buildpath | |
(buildpath/"src/#{GIT}").install buildpath.children | |
cd "src/#{GIT}" do | |
system "make build" | |
bin.install "dist/mmake" => "mmake" | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment