From 2cf8b3cf291002655782787aed62b0ee2b913b08 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Mon, 3 Apr 2017 02:00:21 +0200 Subject: [PATCH] Add intellij-idea cask @ 2016.1 (#3564) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add intellij-idea cask @ 2016.1 Fallback version for license holders *If there’s a checkbox you can’t complete for any reason, that's okay, just explain in detail why you weren’t able to do so.* After making all changes to the cask: - [x] `brew cask audit --download {{cask_file}}` is error-free. - [x] `brew cask style --fix {{cask_file}}` reports no offenses. - [x] The commit message includes the cask’s name and version. Additionally, **if adding a new cask**: - [x] Named the cask according to the [token reference]. - [x] `brew cask install {{cask_file}}` worked successfully. - [x] `brew cask uninstall {{cask_file}}` worked successfully. - [x] Checked there are no [open pull requests] for the same cask. - [x] Checked the cask was not already refused in [closed issues]. - [x] Checked the cask is submitted to [the correct repo]. [token reference]: https://github.com/caskroom/homebrew-cask/blob/master/doc/cask_language_reference/token_reference.md [open pull requests]: https://github.com/caskroom/homebrew-versions/pulls [closed issues]: https://github.com/caskroom/homebrew-versions/issues?q=is%3Aissue+is%3Aclosed [the correct repo]: https://github.com/caskroom/homebrew-cask/blob/master/doc/development/adding_a_cask.md#finding-a-home-for-your-cask * Update intellij-idea20161.rb * Update intellij-idea20161.rb * Rename intellij-idea20161.rb to intellij-idea2016.rb --- Casks/intellij-idea2016.rb | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Casks/intellij-idea2016.rb diff --git a/Casks/intellij-idea2016.rb b/Casks/intellij-idea2016.rb new file mode 100644 index 000000000..03af9db59 --- /dev/null +++ b/Casks/intellij-idea2016.rb @@ -0,0 +1,21 @@ +cask 'intellij-idea2016' do + version '2016.1.4,145.2070' + sha256 'c6ed2455cfeeb542c646e6a3d639d32e85ebe8ead87a0f3744dfa3c0a920e2f9' + + url "https://download.jetbrains.com/idea/ideaIU-#{version.before_comma}.dmg" + name 'IntelliJ IDEA Ultimate' + homepage 'https://www.jetbrains.com/idea/' + + auto_updates true + + app 'IntelliJ IDEA.app' + + 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}", + '~/Library/Preferences/com.jetbrains.intellij.plist', + '~/Library/Saved Application State/com.jetbrains.intellij.savedState', + ] +end