32 lines
1006 B
Ruby
32 lines
1006 B
Ruby
cask :v1 => 'clion' do
|
|
version '1.0.3'
|
|
sha256 '0d0265e9ddc47c3505a17adadbafc99de0a49e0c3f5fc66585d7f016cd562f1e'
|
|
|
|
url "https://download.jetbrains.com/cpp/CLion-#{version}.dmg"
|
|
name 'CLion'
|
|
homepage 'https://www.jetbrains.com/clion'
|
|
license :commercial
|
|
|
|
app 'CLion.app'
|
|
|
|
zap :delete => [
|
|
'~/Library/Preferences/com.jetbrains.CLion.plist',
|
|
'~/Library/Preferences/clion10',
|
|
'~/Library/Application Support/clion10',
|
|
'~/Library/Caches/clion10',
|
|
'~/Library/Logs/clion10',
|
|
]
|
|
|
|
conflicts_with :cask => 'clion-bundled-jdk'
|
|
caveats <<-EOS.undent
|
|
#{token} requires Java 6 like any other IntelliJ-based IDE.
|
|
You can install it with
|
|
|
|
brew cask install caskroom/homebrew-versions/java6
|
|
|
|
The vendor (JetBrains) doesn't support newer versions of Java (yet)
|
|
due to several critical issues, see details at
|
|
https://intellij-support.jetbrains.com/entries/27854363
|
|
EOS
|
|
end
|