npm 0.1.23

This commit is contained in:
Adam Vandenberg committed 2010-08-07 21:35:47 -07:00
1 parent 5952249901
commit e208ac6ba1
1 file changed
+5 -6
+5 -6
View File
@@ -1,18 +1,17 @@
require 'formula'
class Npm <Formula
url 'http://github.com/isaacs/npm/tarball/v0.1.20'
url 'http://github.com/isaacs/npm/tarball/v0.1.23'
homepage 'http://github.com/isaacs/npm'
md5 '9ad6a2892ea673c03c9df528c4ac25d6'
md5 '8f1b08567985f90028492803785f2092'
head 'git://github.com/isaacs/npm.git'
depends_on 'node'
def executable
<<-EOS
def executable; <<-EOS
#!/bin/sh
exec "#{libexec}/cli.js" "$@"
EOS
EOS
end
def node_lib
@@ -53,7 +52,7 @@ exec "#{libexec}/cli.js" "$@"
(bin+"npm").write executable
end
def caveats; <<-EOS
def caveats; <<-EOS.undent
npm will install binaries to:
#{share_bin}
You may want to add this to your PATH.