homebrew-core/Formula/n.rb
Jianwei Han 89fb535921 Update n to 2.0.2
Closes Homebrew/homebrew#43247.

Signed-off-by: Tim D. Smith <git@tim-smith.us>
2015-08-25 00:01:04 -07:00

16 lines
384 B
Ruby

class N < Formula
desc "Node version management"
homepage "https://github.com/tj/n"
head "https://github.com/tj/n.git"
url "https://github.com/tj/n/archive/2.0.2.tar.gz"
sha256 "217155e6a1e20461e0a2216ef8710cb4119e806814e4b0e86f4d5021195f132a"
def install
bin.mkdir
system "make", "PREFIX=#{prefix}", "install"
end
test do
system bin/"n", "ls"
end
end