homebrew-cask/Casks/intellij-idea.rb

23 lines
706 B
Ruby

cask 'intellij-idea' do
version '2016.2.2'
sha256 '7a8541adf3e7aebfae025d6bc7980225ad65723504aad390fcd28e604b8ff05a'
url "https://download.jetbrains.com/idea/ideaIU-#{version}.dmg"
name 'IntelliJ IDEA'
homepage 'https://www.jetbrains.com/idea/'
license :commercial
auto_updates true
app 'IntelliJ IDEA.app'
uninstall delete: '/usr/local/bin/idea'
zap delete: [
"~/Library/Caches/IntelliJIdea#{version.major_minor}",
"~/Library/Logs/IntelliJIdea#{version.major_minor}",
"~/Library/Application Support/IntelliJIdea#{version.major_minor}",
"~/Library/Preferences/IntelliJIdea#{version.major_minor}",
]
end