2015-04-30 19:22:35 +00:00
|
|
|
class Multirust < Formula
|
|
|
|
homepage "https://github.com/brson/multirust"
|
2015-06-02 15:53:34 +00:00
|
|
|
desc "Manage multiple Rust installations"
|
2015-04-30 19:22:35 +00:00
|
|
|
|
|
|
|
# Use the tag instead of the tarball to get submodules
|
|
|
|
url "https://github.com/brson/multirust.git",
|
|
|
|
:tag => "0.0.6",
|
|
|
|
:revision => "6b18101d0b878669bdba94b9e37c31308dc12d34"
|
|
|
|
|
2015-08-13 00:45:15 +00:00
|
|
|
head "https://github.com/brson/multirust.git"
|
|
|
|
|
2015-05-26 17:16:37 +00:00
|
|
|
bottle do
|
|
|
|
sha256 "a44637f895f33c6bc220ca9716055ebafadcef4d4d80e766e073d06a09ee008f" => :yosemite
|
|
|
|
sha256 "ace5fdd7fa1088ce685dd3d05fb3c765d1fef19af3ecdae4264f35d8bd440f42" => :mavericks
|
|
|
|
sha256 "fda4e8a56c51643e5b3edea4e714c311287e53038dfe7acf955776e6c881bf94" => :mountain_lion
|
|
|
|
end
|
|
|
|
|
2015-06-05 13:07:22 +00:00
|
|
|
depends_on :gpg => [:recommended, :run]
|
2015-04-30 19:22:35 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "./build.sh"
|
|
|
|
system "./install.sh", "--prefix=#{prefix}"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/multirust", "show-default"
|
|
|
|
end
|
|
|
|
end
|