fix homebrew

This commit is contained in:
davidnewhall2 2020-02-01 02:30:11 -08:00
parent e4c3fe52b3
commit 851009e1ef
1 changed files with 0 additions and 2 deletions

View File

@ -9,14 +9,12 @@ class {{Class}} < Formula
head "{{SOURCE_URL}}"
depends_on "go" => :build
depends_on "dep"
def install
bin_path = buildpath/"#{name}"
# Copy all files from their current location to buildpath/#{name}
bin_path.install Dir["*",".??*"]
cd bin_path do
system "make" "vendor"
system "make", "install", "VERSION=#{version}", "ITERATION={{Iter}}", "PREFIX=#{prefix}", "ETC=#{etc}"
# If this fails, the user gets a nice big warning about write permissions on their
# #{var}/log folder. The alternative could be letting the app silently fail