Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@zph
Created October 11, 2019 02:39
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 zph/4a647a5886e5e74c09e95b7aa462d5eb to your computer and use it in GitHub Desktop.
Save zph/4a647a5886e5e74c09e95b7aa462d5eb to your computer and use it in GitHub Desktop.
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