homebrew-cask/Casks/cachewarmer.rb

22 lines
841 B
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'cachewarmer' do
2015-07-02 11:04:14 +08:00
version '13'
sha256 '97f9d743a41c4a38ea3b2af5c33716e72b02e9e11b0fed3000d0a3c584f104f3'
2015-09-24 23:33:40 +08:00
# amazonaws.com is the official download host per the vendor homepage
url "https://s3.amazonaws.com/glencode_downloads/CacheWarmer-#{version}.pkg"
2015-07-02 11:04:14 +08:00
name 'CacheWarmer'
2015-09-24 23:33:40 +08:00
homepage 'https://assetcache.io/cachewarmer/'
2015-07-02 11:04:14 +08:00
license :freemium
pkg "CacheWarmer-#{version}.pkg"
uninstall pkgutil: 'net.glencode.CacheWarmer',
launchctl: 'net.glencode.CacheWarmer',
delete: [
'/etc/newsyslog.d/net.glencode.CacheWarmer.conf',
'/usr/local/bin/CacheWarmer',
'/Library/LaunchDaemons/net.glencode.CacheWarmer.plist',
'/Library/Application Support/net.glencode.CacheWarmer',
]
2015-07-02 11:04:14 +08:00
end