Files
mkcert/HomebrewFormula/mkcert.rb
Filippo Valsorda 6a3cad1731 Homebrew and usage
2018-06-26 00:43:06 -04:00

18 lines
493 B
Ruby

class Mkcert < Formula
desc "Simple tool to make locally-trusted development certificates"
homepage "https://github.com/FiloSottile/mkcert"
head "https://github.com/FiloSottile/mkcert.git"
depends_on "go" => :build
def install
ENV["GOPATH"] = buildpath
mkcertpath = buildpath/"src/github.com/FiloSottile/mkcert"
mkcertpath.install buildpath.children
cd mkcertpath do
system "go", "build", "-o", bin/"mkcert"
prefix.install_metafiles
end
end
end