cask 'clion-eap' do version '2016.1.2' sha256 'cc3af250ba762741cfc9e3bdcb62863336e89ebf506043f73f043c51f9f626dd' url "https://download.jetbrains.com/cpp/CLion-#{version}.dmg" name 'CLion' homepage 'https://confluence.jetbrains.com/display/CLION/Early+Access+Program' license :commercial conflicts_with cask: 'clion' app 'CLion.app' zap delete: [ "~/.CLion#{version.major_minor}", # TODO: expand/glob for '~/Library/Preferences/jetbrains.clion.*.plist', "~/Library/Preferences/CLion#{version.major_minor}", "~/Library/Application Support/CLion#{version.major_minor}", "~/Library/Caches/CLion#{version.major_minor}", "~/Library/Logs/CLion#{version.major_minor}", ] # remove this when this cask is updated to an EAP release caveats <<-EOS.undent There is currently no EAP preview release. Instead, the latest stable version will be installed. To receive future EAP releases via the IDE's built-in update system, go to Preferences > Appearance & Behavior > System Settings > Updates and select the Early Access Program channel. EOS end