2013-08-07 18:49:11 +00:00
|
|
|
class N < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Node version management"
|
2015-04-04 03:59:15 +00:00
|
|
|
homepage "https://github.com/tj/n"
|
|
|
|
head "https://github.com/tj/n.git"
|
|
|
|
url "https://github.com/tj/n/archive/v1.3.0.tar.gz"
|
|
|
|
sha1 "3c3248456bd6255401305d2cdf24898d78c28e25"
|
2013-08-07 18:49:11 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
bin.mkdir
|
|
|
|
system "make", "PREFIX=#{prefix}", "install"
|
|
|
|
end
|
2015-02-19 09:13:10 +00:00
|
|
|
|
|
|
|
test do
|
|
|
|
system bin/"n", "ls"
|
|
|
|
end
|
2013-08-07 18:49:11 +00:00
|
|
|
end
|