2014-11-18 23:11:37 +08:00
|
|
|
cask :v1 => 'rowanj-gitx' do
|
2015-06-17 02:37:11 +08:00
|
|
|
if MacOS.release <= :snow_leopard
|
2015-01-24 03:38:35 +08:00
|
|
|
version '0.14.81'
|
|
|
|
sha256 '17301ee1209bd4b12c126d7a58405efdb366f99f70b4f923a9c96e16c334ce2a'
|
2015-06-17 02:37:11 +08:00
|
|
|
elsif MacOS.release <= :lion
|
2015-01-24 03:38:35 +08:00
|
|
|
version '0.15.1949'
|
|
|
|
sha256 '17301ee1209bd4b12c126d7a58405efdb366f99f70b4f923a9c96e16c334ce2a'
|
|
|
|
else
|
|
|
|
version '0.15.1964'
|
|
|
|
sha256 'd88bcb7f92ca1cdf31cb3f1d2e24c03e2091ab330319aeef2e770c0dbd6f7817'
|
|
|
|
end
|
2014-07-01 02:28:06 +08:00
|
|
|
|
2015-06-17 02:37:11 +08:00
|
|
|
url "https://github.com/rowanj/gitx/releases/download/builds%2F#{version.sub(/\.\d+$/, '')}%2F#{version.sub(/.+\./, '')}/GitX-dev-#{version.sub(/.+\./, '')}.dmg"
|
2015-01-24 03:38:35 +08:00
|
|
|
name 'GitX'
|
|
|
|
name 'GitX-dev'
|
2015-06-17 02:37:11 +08:00
|
|
|
homepage 'https://rowanj.github.io/gitx/'
|
2015-01-24 03:38:35 +08:00
|
|
|
appcast 'https://s3.amazonaws.com/builds.phere.net/GitX/development/GitX-dev.xml'
|
|
|
|
license :gpl
|
2014-06-27 08:01:15 +08:00
|
|
|
|
2014-09-16 00:05:38 +08:00
|
|
|
app 'GitX.app'
|
2014-11-19 01:18:09 +08:00
|
|
|
binary 'GitX.app/Contents/Resources/gitx'
|
2015-01-24 07:16:57 +08:00
|
|
|
|
2015-01-24 03:38:35 +08:00
|
|
|
depends_on :macos => '>= :snow_leopard'
|
|
|
|
depends_on :arch => :intel
|
|
|
|
conflicts_with :cask => 'gitx'
|
2013-10-17 17:40:02 +08:00
|
|
|
end
|