diff --git a/Casks/intellij-idea-next-ce-eap.rb b/Casks/intellij-idea-next-ce-eap.rb new file mode 100644 index 000000000..a3922dea2 --- /dev/null +++ b/Casks/intellij-idea-next-ce-eap.rb @@ -0,0 +1,23 @@ +cask 'intellij-idea-next-ce-eap' do + version '2016.3,163.3094.26' + sha256 'fc5f83092ff30e2cdb723d8a70b49cd5603b22aebb176591090369bd568c72d9' + + url "https://download.jetbrains.com/idea/ideaIC-#{version.after_comma}.dmg" + name "IntelliJ IDEA #{version.major_minor} Community Edition EAP" + name "IntelliJ IDEA #{version.major_minor} CE EAP" + homepage "https://confluence.jetbrains.com/display/IDEADEV/IDEA+#{version.major_minor}+EAP" + license :apache + + auto_updates true + + app "IntelliJ IDEA #{version.before_comma} CE EAP.app" + + uninstall delete: '/usr/local/bin/idea' + + 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 diff --git a/Casks/intellij-idea-next-eap.rb b/Casks/intellij-idea-next-eap.rb new file mode 100644 index 000000000..c984b0265 --- /dev/null +++ b/Casks/intellij-idea-next-eap.rb @@ -0,0 +1,22 @@ +cask 'intellij-idea-next-eap' do + version '2016.3,163.3094.26' + sha256 '781c04045250bd694e1d75803c983b8a9d39d6c355ed84770e0b813e8efdabb8' + + url "https://download.jetbrains.com/idea/ideaIU-#{version.after_comma}.dmg" + name "IntelliJ IDEA #{version.major_minor} EAP" + homepage "https://confluence.jetbrains.com/display/IDEADEV/IDEA+#{version.major_minor}+EAP" + license :commercial + + auto_updates true + + app "IntelliJ IDEA #{version.before_comma} EAP.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