Skip to content

Instantly share code, notes, and snippets.

@dlackty
Created February 7, 2013 09:57
Show Gist options
  • Save dlackty/4729987 to your computer and use it in GitHub Desktop.
Save dlackty/4729987 to your computer and use it in GitHub Desktop.
Homebrew formula for OCLint 0.6.
require 'formula'
class Oclint < Formula
homepage 'http://oclint.org'
url 'http://archives.oclint.org/releases/0.6/oclint-0.6-x86_64-apple-darwin12.tar.gz'
version '0.6'
sha1 '9fb4bdfb6dbce14986d863d8b672870c0ae08ec8'
depends_on 'llvm'
def install
lib.install Dir['lib/oclint']
bin.install Dir['bin/*']
end
def test
system "oclint -h"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment