From 5478b9529c40b6590f70d913b82082950d565d15 Mon Sep 17 00:00:00 2001 From: Josh Hagins Date: Wed, 10 Dec 2014 22:49:58 -0500 Subject: [PATCH] Add scala-ide-milestone cask Cask for the latest Scala IDE milestone, currently 4.0.0 RC4. --- Casks/scala-ide-milestone.rb | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Casks/scala-ide-milestone.rb diff --git a/Casks/scala-ide-milestone.rb b/Casks/scala-ide-milestone.rb new file mode 100644 index 000000000..d065d86af --- /dev/null +++ b/Casks/scala-ide-milestone.rb @@ -0,0 +1,20 @@ +cask :v1 => 'scala-ide-milestone' do + version '4.0.0-rc4' + + if Hardware::CPU.is_32_bit? + url "http://downloads.typesafe.com/scalaide-pack/#{version}-luna-211-20141210/scala-SDK-#{version}-2.11-macosx.cocoa.x86.zip" + sha256 '767564ede971095f91c265f05c96daca0816722d5784f490bd326b9a7b6c222e' + else + url "http://downloads.typesafe.com/scalaide-pack/#{version}-luna-211-20141210/scala-SDK-#{version}-2.11-macosx.cocoa.x86_64.zip" + sha256 'd39854dafd0a6b573e8491f4e44abac75d78154cf1226fa52ac2e2ce246ef0ae' + end + + name 'Scala IDE' + homepage 'http://scala-ide.org/' + license :bsd + + # Renamed for clarity: app name is inconsistent with its branding. + # Also renamed to avoid conflict with other eclipse Casks. + # Original discussion: https://github.com/caskroom/homebrew-cask/pull/2731 + app 'eclipse/Eclipse.app', :target => 'Scala IDE.app' +end