Skip to content

Commit

Permalink
forego 0.13.1
Browse files Browse the repository at this point in the history
also show proper version number and disable self-updating

Closes Homebrew/legacy-homebrew#32406.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
  • Loading branch information
dickeyxxx authored and jacknagel committed Sep 19, 2014
1 parent 8847900 commit ad68189
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Formula/forego.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

class Forego < Formula
homepage "https://github.com/ddollar/forego"
url "https://github.com/ddollar/forego/archive/v0.12.0.tar.gz"
sha1 "377a77cd522ccf00b274645920fc760f27b16ed4"
url "https://github.com/ddollar/forego/archive/v0.13.1.tar.gz"
sha1 "63ed315ef06159438e3501512a5b307486d49d5c"

head "https://github.com/ddollar/forego.git"

Expand Down Expand Up @@ -36,7 +36,8 @@ def install
system "go", "install"
end

system "./bin/godep", "go", "build", "-o", "forego"
ldflags = "-X main.Version #{version} -X main.allowUpdate false"
system "./bin/godep", "go", "build", "-ldflags", ldflags, "-o", "forego"
bin.install "forego"
end

Expand Down

0 comments on commit ad68189

Please sign in to comment.