diff --git a/init/homebrew/service.rb.tmpl b/init/homebrew/service.rb.tmpl index cb10dcb2..de494c11 100644 --- a/init/homebrew/service.rb.tmpl +++ b/init/homebrew/service.rb.tmpl @@ -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