diff options
| author | Baptiste Fontaine | 2015-02-20 08:48:08 +0100 |
|---|---|---|
| committer | Tim D. Smith | 2015-02-22 00:39:50 -0800 |
| commit | 064841940d738bb6af9000884037bc652d8ef8fd (patch) | |
| tree | 9c690e5af1ed306e7e8ee9b9e0e0385d4dbd86cc /Library/Formula/gvp.rb | |
| parent | 4919d09fc19cc46502ca848bad40a9ec9b18fcfa (diff) | |
| download | homebrew-064841940d738bb6af9000884037bc652d8ef8fd.tar.bz2 | |
gvp 0.2.0
Closes #36984.
Signed-off-by: Tim D. Smith <git@tim-smith.us>
Diffstat (limited to 'Library/Formula/gvp.rb')
| -rw-r--r-- | Library/Formula/gvp.rb | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/Library/Formula/gvp.rb b/Library/Formula/gvp.rb index 9f66513e1..9b218fa2b 100644 --- a/Library/Formula/gvp.rb +++ b/Library/Formula/gvp.rb @@ -1,9 +1,7 @@ -require "formula" - class Gvp < Formula homepage "https://github.com/pote/gvp" - url "https://github.com/pote/gvp/archive/v0.1.0.tar.gz" - sha1 "c48bae47f8589e9bfd8addc94a9073be4c004305" + url "https://github.com/pote/gvp/archive/v0.2.0.tar.gz" + sha1 "d05a2f04ba06127c95fb1d1fb10a2643d6d27ac6" bottle do cellar :any @@ -18,10 +16,7 @@ class Gvp < Formula end test do - assert Kernel.system("#{bin}/gvp init"), "`gvp init` exited with a non-zero status" - assert File.directory?(".godeps"), "`gvp init` did not create the .godeps directory" - assert_equal `#{bin}/gvp in 'echo $GOPATH' | grep -v '>> Local GOPATH set.'`.chomp, "#{testpath}/.godeps:#{testpath}", "`gvp in` did not change the GOPATH" - assert_equal `#{bin}/gvp in 'echo $GOBIN' | grep -v '>> Local GOPATH set.'`.chomp, "#{testpath}/.godeps/bin", "`gvp in` did not change the GOBIN" - assert_equal `#{bin}/gvp in 'echo $PATH' | grep -v '>> Local GOPATH set.'`.chomp, "#{testpath}/.godeps/bin:#{ENV["PATH"]}", "`gvp in` did not change the PATH" + system "#{bin}/gvp", "init" + assert File.directory? ".godeps/src" end end |
