You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
315 B
17 lines
315 B
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
|