|
|
|
cask 'sublime-text-dev' do
|
|
|
|
version '3120'
|
|
|
|
sha256 '3f5efb40758e3d6999663ce66a60d7b5d9289607555427015c0d2cd629cd0cce'
|
|
|
|
|
|
|
|
url "https://download.sublimetext.com/Sublime%20Text%20Build%20#{version}.dmg"
|
|
|
|
appcast 'https://www.sublimetext.com/updates/3/dev/appcast_osx.xml',
|
|
|
|
checkpoint: 'aacad0a86f9b58873896339a77668c5806d71a7199930998d5d3b92e84d274ac'
|
|
|
|
name 'Sublime Text'
|
|
|
|
homepage 'https://www.sublimetext.com/3dev'
|
|
|
|
license :closed
|
|
|
|
|
|
|
|
conflicts_with cask: 'caskroom/versions/sublime-text3'
|
|
|
|
|
|
|
|
app 'Sublime Text.app'
|
|
|
|
binary "#{appdir}/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',
|
|
|
|
]
|
|
|
|
|
|
|
|
caveats do
|
|
|
|
files_in_usr_local
|
|
|
|
end
|
|
|
|
end
|