fix homebrew
This commit is contained in:
parent
e4c3fe52b3
commit
851009e1ef
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue