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.
24 lines
950 B
24 lines
950 B
cask 'intellij-idea-ce-eap' do
|
|
version '2017.1.2,171.4249.4'
|
|
sha256 '3ad5bea53b8d75e99330afd2b4401a66e31aa3af381cf1ed8e36b605902f263b'
|
|
|
|
url "https://download.jetbrains.com/idea/ideaIC-#{version.after_comma}.dmg"
|
|
name 'IntelliJ IDEA Community Edition EAP'
|
|
name 'IntelliJ IDEA CE EAP'
|
|
homepage "https://confluence.jetbrains.com/display/IDEADEV/IDEA+#{version.major_minor}+EAP"
|
|
|
|
auto_updates true
|
|
|
|
app "IntelliJ IDEA #{version.before_comma} CE EAP.app"
|
|
|
|
uninstall_postflight do
|
|
ENV['PATH'].split(File::PATH_SEPARATOR).map { |path| File.join(path, 'idea') }.each { |path| File.delete(path) if File.exist?(path) }
|
|
end
|
|
|
|
zap delete: [
|
|
"~/Library/Application Support/IdeaIC#{version.major_minor}",
|
|
"~/Library/Preferences/IdeaIC#{version.major_minor}",
|
|
"~/Library/Caches/IdeaIC#{version.major_minor}",
|
|
"~/Library/Logs/IdeaIC#{version.major_minor}",
|
|
]
|
|
end
|
|
|