github.com/kick-project/maker@v1.1.1-0.20211031110251-7b74922fa493/maker.rb.in (about) 1 class Maker < Formula 2 desc "Make augementor to support dotenv files and help for Makefiles" 3 homepage "https://github.com/kick-project/maker" 4 url "${BASEURL}/maker-${VERSION}.tar.gz" 5 sha256 "${SHA256}" 6 license "Apache-2.0" 7 8 depends_on "go@1.16" => :build 9 10 def install 11 ENV["CGO_ENABLED"] = "1" 12 system "go", "install", "./cmd/maker" 13 bin.install ENV["GOPATH"] + "/bin/maker" 14 end 15 16 test do 17 system bin/"maker", "--help" 18 assert_includes "Usage" 19 end 20 end