mirror of
https://github.com/unpoller/unpoller.git
synced 2026-03-31 06:24:19 -04:00
fix homebrew
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user