Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
multirust 0.0.6 (new formula)
Closes Homebrew/legacy-homebrew#39224. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
- Loading branch information
1 parent
cd37ba6
commit b9f9eda
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
class Multirust < Formula | ||
homepage "https://github.com/brson/multirust" | ||
desc "A tool for managing multiple Rust installations" | ||
|
||
# Use the tag instead of the tarball to get submodules | ||
url "https://github.com/brson/multirust.git", | ||
:tag => "0.0.6", | ||
:revision => "6b18101d0b878669bdba94b9e37c31308dc12d34" | ||
|
||
depends_on :gpg => :recommended | ||
|
||
def install | ||
system "./build.sh" | ||
system "./install.sh", "--prefix=#{prefix}" | ||
end | ||
|
||
test do | ||
system "#{bin}/multirust", "show-default" | ||
end | ||
end |