Browse Source

remove all jetbrains casks (#3683)

master
Lukas Eipert 8 years ago
committed by Vítor Galvão
parent
commit
f3572487a0
  1. 26
      Casks/appcode-eap.rb
  2. 23
      Casks/clion-eap.rb
  3. 23
      Casks/datagrip-eap.rb
  4. 23
      Casks/gogland-eap.rb
  5. 23
      Casks/intellij-idea-ce-eap-nextversion.rb
  6. 24
      Casks/intellij-idea-ce-eap.rb
  7. 23
      Casks/intellij-idea-eap-nextversion.rb
  8. 23
      Casks/intellij-idea-eap.rb
  9. 25
      Casks/intellij-idea20161.rb
  10. 19
      Casks/mps-eap.rb
  11. 23
      Casks/phpstorm-eap.rb
  12. 24
      Casks/pycharm-ce-eap.rb
  13. 23
      Casks/pycharm-eap.rb
  14. 23
      Casks/rubymine-eap.rb
  15. 23
      Casks/webstorm-eap.rb

26
Casks/appcode-eap.rb

@ -1,26 +0,0 @@
cask 'appcode-eap' do
version '2017.1.1,171.4073.44'
sha256 'a8c11b8e1da48ed4851f2fcc395bb124a1c1b99ff1d8cf4b112770c24a529088'
url "https://download.jetbrains.com/objc/AppCode-#{version.before_comma}-RC.dmg"
name 'AppCode EAP'
homepage 'https://confluence.jetbrains.com/display/OBJC/AppCode+EAP'
conflicts_with cask: 'appcode'
app "AppCode #{version.before_comma} EAP.app"
uninstall_postflight do
ENV['PATH'].split(File::PATH_SEPARATOR).map { |path| File.join(path, 'appcode') }.each { |path| File.delete(path) if File.exist?(path) }
end
zap delete: [
"~/Library/Application Support/AppCode#{version.major_minor}",
'~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.jetbrains.appcode-eap.sfl',
"~/Library/Caches/AppCode#{version.major_minor}",
"~/Library/Logs/AppCode#{version.major_minor}",
"~/Library/Preferences/AppCode#{version.major_minor}",
'~/Library/Preferences/com.jetbrains.AppCode-EAP.plist',
'~/Library/Saved Application State/com.jetbrains.AppCode-EAP.savedState',
]
end

23
Casks/clion-eap.rb

@ -1,23 +0,0 @@
cask 'clion-eap' do
version '2017.1.1,171.4073.32'
sha256 'a3352db3b0651cf489a06b7aecdf008e06701b3a608d24b960bb3c05cad0e0d6'
url "https://download.jetbrains.com/cpp/CLion-#{version.after_comma}.dmg"
name 'CLion EAP'
homepage 'https://confluence.jetbrains.com/display/CLION/Early+Access+Program'
conflicts_with cask: 'clion'
app "CLion #{version.before_comma} EAP.app"
uninstall_postflight do
ENV['PATH'].split(File::PATH_SEPARATOR).map { |path| File.join(path, 'clion') }.each { |path| File.delete(path) if File.exist?(path) }
end
zap delete: [
"~/Library/Application Support/CLion#{version.major_minor}",
"~/Library/Caches/CLion#{version.major_minor}",
"~/Library/Logs/CLion#{version.major_minor}",
"~/Library/Preferences/CLion#{version.major_minor}",
]
end

23
Casks/datagrip-eap.rb

@ -1,23 +0,0 @@
cask 'datagrip-eap' do
version '2017.1,171.3780.53'
sha256 '9cf100beb0c841266f6657eb8b4b5f81af4d75776f9690cf1df8a1744e963cec'
url "https://download.jetbrains.com/datagrip/datagrip-#{version.after_comma}.dmg"
name 'DataGrip'
homepage 'https://www.jetbrains.com/datagrip/whatsnew/'
conflicts_with cask: 'datagrip'
app "DataGrip #{version.before_comma} EAP.app"
uninstall_postflight do
ENV['PATH'].split(File::PATH_SEPARATOR).map { |path| File.join(path, 'datagrip') }.each { |path| File.delete(path) if File.exist?(path) }
end
zap delete: [
"~/Library/Application Support/DataGrip#{version.before_comma}",
"~/Library/Caches/DataGrip#{version.before_comma}",
"~/Library/Logs/DataGrip#{version.before_comma}",
"~/Library/Preferences/DataGrip#{version.before_comma}",
]
end

23
Casks/gogland-eap.rb

@ -1,23 +0,0 @@
cask 'gogland-eap' do
version '1.0,171.3780.106'
sha256 '6b700b1437304e1e58ea3d1f866b2b3545cc83642bcc9a727887f9e0c998a097'
url "https://download.jetbrains.com/go/gogland-#{version.after_comma}.dmg"
name 'Gogland EAP'
homepage 'https://www.jetbrains.com/go/'
conflicts_with cask: 'gogland'
app "Gogland #{version.before_comma} EAP.app"
uninstall_postflight do
ENV['PATH'].split(File::PATH_SEPARATOR).map { |path| File.join(path, 'Gogland') }.each { |path| File.delete(path) if File.exist?(path) }
end
zap delete: [
"~/Library/Preferences/Gogland#{version.major_minor}",
"~/Library/Application Support/Gogland#{version.major_minor}",
"~/Library/Caches/Gogland#{version.major_minor}",
"~/Library/Logs/Gogland#{version.major_minor}",
]
end

23
Casks/intellij-idea-ce-eap-nextversion.rb

@ -1,23 +0,0 @@
cask 'intellij-idea-ce-eap-nextversion' do
version '2017.1.1,171.4073.28'
sha256 'c895688e9e65dd02376fbc1a875d509f202bd40c6da4e7e899e3084e59ebe28c'
url "https://download.jetbrains.com/idea/ideaIC-#{version.after_comma}.dmg"
name 'IntelliJ IDEA Community Edition next version EAP'
homepage 'https://www.jetbrains.com/idea/whatsnew/'
auto_updates true
app 'IntelliJ IDEA CE.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/Caches/IdeaIC#{version.major_minor}",
"~/Library/Logs/IdeaIC#{version.major_minor}",
"~/Library/Preferences/IdeaIC#{version.major_minor}",
]
end

24
Casks/intellij-idea-ce-eap.rb

@ -1,24 +0,0 @@
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

23
Casks/intellij-idea-eap-nextversion.rb

@ -1,23 +0,0 @@
cask 'intellij-idea-eap-nextversion' do
version '2017.1.1,171.4073.28'
sha256 '424190994adaf09ee5f9342eb7585cda7cc62ff84a40bf605778ff9f13a4680c'
url "https://download.jetbrains.com/idea/ideaIU-#{version.after_comma}.dmg"
name 'IntelliJ IDEA Ultimate next version EAP'
homepage 'https://www.jetbrains.com/idea/whatsnew/'
auto_updates true
app 'IntelliJ IDEA.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/IntelliJIdea#{version.major_minor}",
"~/Library/Caches/IntelliJIdea#{version.major_minor}",
"~/Library/Logs/IntelliJIdea#{version.major_minor}",
"~/Library/Preferences/IntelliJIdea#{version.major_minor}",
]
end

23
Casks/intellij-idea-eap.rb

@ -1,23 +0,0 @@
cask 'intellij-idea-eap' do
version '2017.1.2,171.4249.4'
sha256 '2a094a9655de0d845c38af2b10b1f446771063fc1114877e3a9fde69e782f175'
url "https://download.jetbrains.com/idea/ideaIU-#{version.after_comma}.dmg"
name 'IntelliJ IDEA Ultimate EAP'
homepage "https://confluence.jetbrains.com/display/IDEADEV/IDEA+#{version.major_minor}+EAP"
auto_updates true
app "IntelliJ IDEA #{version.before_comma} 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/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

25
Casks/intellij-idea20161.rb

@ -1,25 +0,0 @@
cask 'intellij-idea20161' 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'
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/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

19
Casks/mps-eap.rb

@ -1,19 +0,0 @@
cask 'mps-eap' do
version '3.4.4'
sha256 '068cad86ae8fa40674e3b663328587b466a4c3a0560b0789746e77953260030e'
url "http://download.jetbrains.com/mps/#{version.major_minor.no_dots}/MPS-#{version}-macos-jdk-bundled.dmg"
name 'JetBrains MPS EAP'
homepage 'https://confluence.jetbrains.com/display/MPS/JetBrains+MPS+3.4+Download+Page'
conflicts_with cask: 'mps'
app "MPS #{version.major_minor} EAP.app"
zap delete: [
"~/Library/Application Support/MPS#{version.major_minor.no_dots}",
"~/Library/Preferences/MPS#{version.major_minor.no_dots}",
"~/Library/Caches/MPS#{version.major_minor.no_dots}",
"~/Library/Logs/MPS#{version.major_minor.no_dots}",
]
end

23
Casks/phpstorm-eap.rb

@ -1,23 +0,0 @@
cask 'phpstorm-eap' do
version '2017.1,171.4073.14'
sha256 '9ac2427639cb23718a2bcc7f746fe53f5adac519477e2e8e8c223a60611b7aee'
url "https://download.jetbrains.com/webide/PhpStorm-EAP-#{version.after_comma}.dmg"
name 'PhpStorm EAP'
homepage 'https://confluence.jetbrains.com/display/PhpStorm/PhpStorm+Early+Access+Program'
conflicts_with cask: 'phpstorm'
app "PhpStorm #{version.before_comma} EAP.app"
uninstall_postflight do
ENV['PATH'].split(File::PATH_SEPARATOR).map { |path| File.join(path, 'pstorm') }.each { |path| File.delete(path) if File.exist?(path) }
end
zap delete: [
"~/Library/Application Support/PhpStorm#{version.major_minor}",
"~/Library/Caches/PhpStorm#{version.major_minor}",
"~/Library/Logs/PhpStorm#{version.major_minor}",
"~/Library/Preferences/PhpStorm#{version.major_minor}",
]
end

24
Casks/pycharm-ce-eap.rb

@ -1,24 +0,0 @@
cask 'pycharm-ce-eap' do
version '2017.1,171.3780.111'
sha256 'f5a43260b2cd7a770bf725ac38ac99d36407437566ac40a4921e23ab92c853b9'
url "https://download.jetbrains.com/python/pycharm-community-#{version.after_comma}.dmg"
name 'Jetbrains PyCharm Community Edition EAP'
name 'PyCharm CE EAP'
homepage 'https://www.jetbrains.com/pycharm/whatsnew/'
conflicts_with cask: 'pycharm-ce'
app "PyCharm CE #{version.before_comma} EAP.app"
uninstall_postflight do
ENV['PATH'].split(File::PATH_SEPARATOR).map { |path| File.join(path, 'charm') }.each { |path| File.delete(path) if File.exist?(path) }
end
zap delete: [
"~/Library/Application Support/PyCharm#{version.before_comma.major_minor}",
"~/Library/Caches/PyCharm#{version.before_comma.major_minor}",
"~/Library/Logs/PyCharm#{version.before_comma.major_minor}",
"~/Library/Preferences/PyCharm#{version.before_comma.major_minor}",
]
end

23
Casks/pycharm-eap.rb

@ -1,23 +0,0 @@
cask 'pycharm-eap' do
version '2017.1,171.3780.111'
sha256 'aeeb9efb861d0cc953179477a326ffa5e19db09192dc13de252030c01126afe1'
url "https://download.jetbrains.com/python/pycharm-professional-#{version.after_comma}.dmg"
name 'PyCharm EAP'
homepage 'https://www.jetbrains.com/pycharm/whatsnew/'
conflicts_with cask: 'pycharm'
app "PyCharm #{version.before_comma} EAP.app"
uninstall_postflight do
ENV['PATH'].split(File::PATH_SEPARATOR).map { |path| File.join(path, 'charm') }.each { |path| File.delete(path) if File.exist?(path) }
end
zap delete: [
"~/Library/Application Support/PyCharm#{version.before_comma}",
"~/Library/Caches/PyCharm#{version.before_comma}",
"~/Library/Logs/PyCharm#{version.before_comma}",
"~/Library/Preferences/PyCharm#{version.before_comma}",
]
end

23
Casks/rubymine-eap.rb

@ -1,23 +0,0 @@
cask 'rubymine-eap' do
version '2017.1.2,171.4249.6'
sha256 '325c4f854d188c7f2cdf079a4a5c90b49841287e451301cec713c34ba183ee11'
url "https://download.jetbrains.com/ruby/RubyMine-#{version.after_comma}.dmg"
name 'RubyMine EAP'
homepage 'https://confluence.jetbrains.com/display/RUBYDEV/Early+Access+Program'
conflicts_with cask: 'rubymine'
app 'RubyMine EAP.app'
uninstall_postflight do
ENV['PATH'].split(File::PATH_SEPARATOR).map { |path| File.join(path, 'mine') }.each { |path| File.delete(path) if File.exist?(path) }
end
zap delete: [
"~/Library/Preferences/RubyMine#{version.major_minor}",
"~/Library/Application Support/RubyMine#{version.major_minor}",
"~/Library/Caches/RubyMine#{version.major_minor}",
"~/Library/Logs/RubyMine#{version.major_minor}",
]
end

23
Casks/webstorm-eap.rb

@ -1,23 +0,0 @@
cask 'webstorm-eap' do
version '2017.1.1,171.4073.31'
sha256 'e73fe3ae991fb71d9ff0cccbe510579dd4bff2b96c4853c295edb018ab0fdbf9'
url "https://download.jetbrains.com/webstorm/WebStorm-#{version.after_comma}.dmg"
name 'WebStorm EAP'
homepage 'https://confluence.jetbrains.com/display/WI/WebStorm+EAP'
conflicts_with cask: 'webstorm'
app "WebStorm #{version.before_comma} EAP.app"
uninstall_postflight do
ENV['PATH'].split(File::PATH_SEPARATOR).map { |path| File.join(path, 'wstorm') }.each { |path| File.delete(path) if File.exist?(path) }
end
zap delete: [
"~/Library/Application Support/WebStorm#{version.major_minor}",
"~/Library/Caches/WebStorm#{version.major_minor}",
"~/Library/Logs/WebStorm#{version.major_minor}",
"~/Library/Preferences/WebStorm#{version.major_minor}",
]
end
Loading…
Cancel
Save