mirror of
https://github.com/FiloSottile/mkcert.git
synced 2025-10-14 00:41:40 +08:00
18 lines
493 B
Ruby
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
|
|
|