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
866 B
23 lines
866 B
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
|
|
|