29 lines
1.2 KiB
Ruby
29 lines
1.2 KiB
Ruby
cask 'textmate' do
|
|
version '2.0-rc.10'
|
|
sha256 'b8058fd562701b3bb7aab6bb7b1f3a5ac752f153fe258121aa54033cb154d20b'
|
|
|
|
# github.com/textmate/textmate was verified as official when first introduced to the cask
|
|
url "https://github.com/textmate/textmate/releases/download/v#{version}/TextMate_#{version}.tbz"
|
|
appcast 'https://github.com/textmate/textmate/releases.atom'
|
|
name 'TextMate'
|
|
homepage 'https://macromates.com/'
|
|
|
|
auto_updates true
|
|
depends_on macos: '>= :mountain_lion'
|
|
|
|
app 'TextMate.app'
|
|
binary "#{appdir}/TextMate.app/Contents/Resources/mate"
|
|
|
|
zap trash: [
|
|
'~/Library/Application Support/Avian',
|
|
'~/Library/Application Support/TextMate',
|
|
'~/Library/Caches/com.macromates.TextMate',
|
|
'~/Library/Preferences/com.macromates.TextMate.preview.LSSharedFileList.plist',
|
|
'~/Library/Preferences/com.macromates.TextMate.preview.plist',
|
|
'~/Library/Preferences/com.macromates.TextMate.plist',
|
|
'~/Library/Preferences/com.macromates.textmate.webpreview.plist',
|
|
'~/Library/Preferences/com.macromates.textmate.latex_config.plist',
|
|
'~/Library/Saved Application State/com.macromates.TextMate.savedState',
|
|
]
|
|
end
|