mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-26 19:09:48 -05:00
npm 0.1.23
This commit is contained in:
1 parent
5952249901
commit
e208ac6ba1
1 file changed
+5
-6
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user