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.

13 lines
331 B

class RustNightly < Cask
arch = `uname -m`.chomp
arch = 'i686' if arch.empty?
pkgname = "rust-nightly-#{arch}-apple-darwin.pkg"
url "http://static.rust-lang.org/dist/#{pkgname}"
homepage 'http://www.rust-lang.org/'
version 'latest'
install pkgname
sha256 :no_check
uninstall :pkgutil => 'org.rust-lang.rust'
end