parent
79d1a46014
commit
bd765d8611
@ -1,16 +0,0 @@
|
||||
require 'formula'
|
||||
|
||||
class CargoNightly < Formula
|
||||
homepage 'http://crates.io/'
|
||||
head 'http://static.rust-lang.org/cargo-dist/cargo-nightly-x86_64-apple-darwin.tar.gz'
|
||||
|
||||
# depends_on 'rust-nightly'
|
||||
|
||||
def install
|
||||
system "./install.sh", "--prefix=#{prefix}"
|
||||
end
|
||||
|
||||
test do
|
||||
system "#{bin}/cargo"
|
||||
end
|
||||
end
|
@ -1,17 +0,0 @@
|
||||
require 'formula'
|
||||
|
||||
class RustNightly < Formula
|
||||
homepage 'http://www.rust-lang.org/'
|
||||
head 'http://static.rust-lang.org/dist/rust-nightly-x86_64-apple-darwin.tar.gz'
|
||||
|
||||
conflicts_with 'rust', :because => 'same'
|
||||
|
||||
def install
|
||||
system "./install.sh", "--prefix=#{prefix}"
|
||||
end
|
||||
|
||||
test do
|
||||
system "#{bin}/rustc"
|
||||
system "#{bin}/rustdoc", "-h"
|
||||
end
|
||||
end
|
Loading…
Reference in new issue