2014-03-14 23:20:20 +00:00
|
|
|
class Gvp < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Go versioning packager"
|
2014-03-14 23:20:20 +00:00
|
|
|
homepage "https://github.com/pote/gvp"
|
2015-02-20 07:48:08 +00:00
|
|
|
url "https://github.com/pote/gvp/archive/v0.2.0.tar.gz"
|
2015-08-03 12:55:31 +00:00
|
|
|
sha256 "ede10a32889cf284eaa4c4a9ed4e6bc0a85e0663246bf2fb7c1cf3965db661ea"
|
2014-03-14 23:20:20 +00:00
|
|
|
|
2014-03-14 23:33:04 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2015-02-22 08:28:27 +00:00
|
|
|
sha1 "f1b92b589cc6d28f1287e469ba07e49c9b7a2bac" => :yosemite
|
|
|
|
sha1 "76979a476e5590b59cd063845810ab6dd5a01ab4" => :mavericks
|
|
|
|
sha1 "ca229e3f90bf71121eb70112a52ffa0865a3ee5c" => :mountain_lion
|
2014-03-14 23:33:04 +00:00
|
|
|
end
|
|
|
|
|
2014-03-14 23:20:20 +00:00
|
|
|
def install
|
|
|
|
system "./configure", "--prefix=#{prefix}"
|
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
2015-02-20 07:48:08 +00:00
|
|
|
system "#{bin}/gvp", "init"
|
|
|
|
assert File.directory? ".godeps/src"
|
2014-03-14 23:20:20 +00:00
|
|
|
end
|
|
|
|
end
|