homebrew-cask/Casks/oclint.rb

22 lines
979 B
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'oclint' do
2016-09-19 03:19:33 +08:00
version '0.11,15.6.0'
sha256 '804d7389d8631835fd4ceee845c5a6cc47062ffb10341ffcb421269c25182c0d'
2016-06-18 06:34:18 +08:00
# github.com/oclint/oclint was verified as official when first introduced to the cask
2016-06-20 02:26:19 +08:00
url "https://github.com/oclint/oclint/releases/download/v#{version.before_comma}/oclint-#{version.before_comma}-x86_64-darwin-#{version.after_comma}.tar.gz"
2016-01-17 02:41:21 +08:00
appcast 'https://github.com/oclint/oclint/releases.atom',
2016-09-19 03:19:33 +08:00
checkpoint: '2b9179b96d9caccfcbac1aca6d10b6dfb5aa176daf840800434b32c12277a17b'
2015-04-16 01:26:44 +08:00
name 'OCLint'
homepage 'http://oclint.org'
2014-12-30 20:10:37 +08:00
2016-06-20 02:26:19 +08:00
binary "oclint-#{version.before_comma}/bin/oclint"
binary "oclint-#{version.before_comma}/bin/oclint-json-compilation-database"
binary "oclint-#{version.before_comma}/bin/oclint-xcodebuild"
binary "oclint-#{version.before_comma}/lib/oclint", target: '/usr/local/lib/oclint'
2016-09-19 03:19:33 +08:00
binary "oclint-#{version.before_comma}/include/c++", target: '/usr/local/include/c++'
caveats do
files_in_usr_local
end
2014-01-21 05:16:38 +08:00
end