From bd765d8611fc339d33f3995f4327764732ad46be Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Sun, 6 Mar 2016 07:09:11 -0800 Subject: [PATCH] Remove Rust/Cargo formulae --- cargo-nightly.rb | 16 ---------------- rust-nightly.rb | 17 ----------------- 2 files changed, 33 deletions(-) delete mode 100644 cargo-nightly.rb delete mode 100644 rust-nightly.rb diff --git a/cargo-nightly.rb b/cargo-nightly.rb deleted file mode 100644 index 01eccff..0000000 --- a/cargo-nightly.rb +++ /dev/null @@ -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 diff --git a/rust-nightly.rb b/rust-nightly.rb deleted file mode 100644 index 02a5bf6..0000000 --- a/rust-nightly.rb +++ /dev/null @@ -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