2014-11-14 01:27:04 +08:00
|
|
|
cask :v1 => 'sublime-text' do
|
2014-06-27 08:01:46 +08:00
|
|
|
version '2.0.2'
|
|
|
|
sha256 '906e71e19ae5321f80e7cf42eab8355146d8f2c3fd55be1f7fe5c62c57165add'
|
2014-07-01 02:28:06 +08:00
|
|
|
|
2015-01-19 10:10:27 +08:00
|
|
|
# rackcdn.com is the official download host per the vendor homepage
|
2014-09-26 20:09:13 +08:00
|
|
|
url "http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%20#{version}.dmg"
|
2015-06-29 14:32:18 +08:00
|
|
|
appcast 'https://www.sublimetext.com/updates/2/stable/appcast_osx.xml',
|
2014-10-15 23:43:55 +08:00
|
|
|
:sha256 => 'e11769f18c577d4cb189c6f6485119a66db5e5d3ba4df99326080f193c1f74b3'
|
2015-01-10 04:28:01 +08:00
|
|
|
name 'Sublime Text'
|
2015-06-29 14:32:18 +08:00
|
|
|
homepage 'https://www.sublimetext.com/2'
|
2015-07-21 07:19:57 +08:00
|
|
|
license :closed
|
2014-06-27 08:01:46 +08:00
|
|
|
|
2014-09-16 00:06:25 +08:00
|
|
|
app 'Sublime Text 2.app'
|
2014-01-06 04:31:25 +08:00
|
|
|
binary 'Sublime Text 2.app/Contents/SharedSupport/bin/subl'
|
2014-10-11 22:34:24 +08:00
|
|
|
|
2014-09-18 19:58:00 +08:00
|
|
|
zap :delete => [
|
2015-10-17 06:49:04 +08:00
|
|
|
'~/Library/Application Support/Sublime Text 2',
|
|
|
|
'~/Library/Preferences/com.sublimetext.2.plist',
|
|
|
|
'~/Library/Caches/com.sublimetext.2',
|
|
|
|
'~/Library/Saved Application State/com.sublimetext.2.savedState'
|
|
|
|
]
|
2014-10-10 20:13:30 +08:00
|
|
|
|
|
|
|
caveats do
|
|
|
|
files_in_usr_local
|
|
|
|
end
|
2012-09-22 08:53:10 +08:00
|
|
|
end
|