Skip to content

Instantly share code, notes, and snippets.

@wilmoore
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wilmoore/8dee790542198490c4a7 to your computer and use it in GitHub Desktop.
Save wilmoore/8dee790542198490c4a7 to your computer and use it in GitHub Desktop.
jasmine-node
require 'formula'
class JasmineNode < Formula
homepage 'https://github.com/mhevery/jasmine-node'
url 'https://github.com/mhevery/jasmine-node/archive/1.14.5.tar.gz'
sha1 'd4f4776476a114ba6a1d0d368cdb4988d39e4cf0'
depends_on "node"
def install
system "#{HOMEBREW_PREFIX}/bin/npm", "install", "--production"
prefix.install "bin", "lib", "node_modules"
end
test do
system "#{bin}/jasmine-node", "--version"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment