mkcert-master.rb 524 B

1234567891011121314151617
  1. # Copyright 2018 The mkcert Authors. All rights reserved.
  2. # Use of this source code is governed by a BSD-style
  3. # license that can be found in the LICENSE file.
  4. class MkcertMaster < Formula
  5. desc "Simple tool to make locally trusted development certificates"
  6. homepage "https://github.com/FiloSottile/mkcert"
  7. head "https://github.com/FiloSottile/mkcert.git"
  8. depends_on "go" => :build
  9. def install
  10. ENV["GOPATH"] = HOMEBREW_CACHE/"go_cache"
  11. system "go", "build", "-o", bin/"mkcert"
  12. prefix.install_metafiles
  13. end
  14. end