Created
August 19, 2012 07:38
-
-
Save cescoffier/3393346 to your computer and use it in GitHub Desktop.
jsdoc 3.0.1 homebrew formula
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
class Jsdoc3 < Formula | |
homepage 'http://usejsdoc.org/' | |
url 'https://github.com/jsdoc3/jsdoc/tarball/v3.0.1' | |
sha1 '0c6ad2321d300a3eaa2e1d543f3fbf166ff1ce18' | |
def install | |
libexec.install Dir['*'] | |
# Custom invoker that just passes on whatever arguments you give it | |
system "/bin/echo '#!/bin/sh' > jsdoc" | |
system "/bin/echo '#{libexec}/jsdoc $@' >> jsdoc" | |
bin.install "jsdoc" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment