homebrew-cask/Casks/oclint.rb

18 lines
964 B
Ruby

cask "oclint" do
version "0.13.1,17.4.0"
sha256 "c67f014a1ce997e62a242fe9154a9ac0a4ea50ad07b0417f3fb8b13f20e1ab90"
# github.com/oclint/oclint/ was verified as official when first introduced to the cask
url "https://github.com/oclint/oclint/releases/download/v#{version.before_comma}/oclint-#{version.before_comma}-x86_64-darwin-#{version.after_comma}.tar.gz"
appcast "https://github.com/oclint/oclint/releases.atom"
name "OCLint"
homepage "http://oclint.org/"
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: "#{HOMEBREW_PREFIX}/lib/oclint"
binary "oclint-#{version.before_comma}/lib/clang", target: "#{HOMEBREW_PREFIX}/lib/clang"
binary "oclint-#{version.before_comma}/include/c++/v1", target: "#{HOMEBREW_PREFIX}/include/c++/v1"
end