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
643 B

cask 'julia-nightly' do
version '0.5.0-ba46baf63f'
sha256 '7f66a1bb6cafe2dab3eb47f812a12fae5727ba6f9f122ea647bb7d654154390e'
# amazonaws.com/julianightlies was verified as official when first introduced to the cask
url "https://s3.amazonaws.com/julianightlies/bin/osx/x64/#{version.sub(%r{(\d+\.\d+).*}, '\1')}/julia-#{version}-osx.dmg"
name 'Julia'
homepage 'http://julialang.org'
license :mit
depends_on macos: '>= :lion'
app "Julia-#{version.sub(%r{(.+)-(.+)}, '\1-dev-\2')}.app"
binary "#{appdir}/Julia-#{version.sub(%r{(.+)-(.+)}, '\1-dev-\2')}.app/Contents/Resources/julia/bin/julia"
zap delete: '~/.julia'
end