2015-12-18 09:15:28 +08:00
|
|
|
cask 'sts' do
|
2016-03-03 23:03:37 +08:00
|
|
|
version '3.7.3.RELEASE'
|
|
|
|
sha256 'c64a6308f1ae75ba9bddc6b298e02673207a9b1d8f6df2bf6d2f8532b47f29e7'
|
2014-06-16 22:26:40 +08:00
|
|
|
|
2014-10-07 23:28:49 +08:00
|
|
|
module Utils
|
2015-07-15 17:39:55 +08:00
|
|
|
def self.eclipse_version
|
2016-03-03 23:03:37 +08:00
|
|
|
'4.5.2' # find eclipse version at http://spring.io/tools/sts/all
|
2015-07-15 17:39:55 +08:00
|
|
|
end
|
|
|
|
|
|
|
|
def self.eclipse_version_major_minor
|
|
|
|
eclipse_version.split('.').slice(0, 2).join('.')
|
2014-10-07 23:28:49 +08:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2015-07-15 17:39:55 +08:00
|
|
|
url "http://dist.springsource.com/release/STS/#{version}/dist/e#{Utils.eclipse_version_major_minor}/spring-tool-suite-#{version}-e#{Utils.eclipse_version}-macosx-cocoa-x86_64.tar.gz"
|
2015-05-02 04:26:10 +08:00
|
|
|
name 'Spring Tool Suite'
|
2015-06-29 14:32:18 +08:00
|
|
|
homepage 'https://spring.io/tools/sts'
|
2015-05-22 01:19:18 +08:00
|
|
|
license :eclipse
|
2014-07-01 02:28:06 +08:00
|
|
|
|
2015-07-15 17:39:55 +08:00
|
|
|
app 'sts-bundle/STS.app'
|
2013-12-15 20:00:01 +08:00
|
|
|
end
|