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.
 
 

23 lines
900 B

cask 'clion-eap' do
version 'RC2,2017.1'
sha256 '5675cf498abe6f8331719412d7511a9c469591c78a19cc30e32ffaa17c2e5f9b'
url "https://download.jetbrains.com/cpp/CLion-#{version.after_comma}-#{version.before_comma}.dmg"
name 'CLion EAP'
homepage 'https://confluence.jetbrains.com/display/CLION/Early+Access+Program'
conflicts_with cask: 'clion'
app 'CLion.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.after_comma.major_minor}",
"~/Library/Caches/CLion#{version.after_comma.major_minor}",
"~/Library/Logs/CLion#{version.after_comma.major_minor}",
"~/Library/Preferences/CLion#{version.after_comma.major_minor}",
]
end