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
876 B

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