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.
30 lines
1.1 KiB
30 lines
1.1 KiB
cask :v1 => 'sublime-text3' do
|
|
version 'Build 3083'
|
|
sha256 'fe6dd8d8192fdb01988f99289e5bc1d9a4e66cf67548e144002051c23369a5ff'
|
|
|
|
# rackcdn.com is the official download host per the vendor homepage
|
|
url "http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%20#{version.sub(' ', '%20')}.dmg"
|
|
appcast 'http://www.sublimetext.com/updates/3/stable/appcast_osx.xml',
|
|
:sha256 => 'bb8df68fe6a87966c4662948f4f147ac5dd0d1cd3a8d5342c56a11a018ff81e9'
|
|
name 'Sublime Text'
|
|
homepage 'http://www.sublimetext.com/3'
|
|
license :closed
|
|
|
|
app 'Sublime Text.app'
|
|
binary 'Sublime Text.app/Contents/SharedSupport/bin/subl'
|
|
|
|
uninstall :quit => 'com.sublimetext.3'
|
|
|
|
zap :delete => [
|
|
'~/Library/Application Support/Sublime Text 3',
|
|
'~/Library/Caches/com.sublimetext.3',
|
|
'~/Library/Preferences/com.sublimetext.3.plist',
|
|
'~/Library/Saved Application State/com.sublimetext.3.savedState'
|
|
]
|
|
|
|
conflicts_with :cask => 'caskroom/versions/sublime-text-dev'
|
|
|
|
caveats do
|
|
files_in_usr_local
|
|
end
|
|
end
|
|
|