homebrew-core/Formula/n.rb
Xu Cheng bb500bae3a n: add test and modernize
Closes Homebrew/homebrew#36955.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-02-19 17:40:38 +08:00

15 lines
353 B
Ruby

class N < Formula
homepage "https://github.com/visionmedia/n"
head "https://github.com/visionmedia/n.git"
url "https://github.com/visionmedia/n/archive/v1.2.7.tar.gz"
sha1 "1852167d79d42b5077f23197133ec717ca1b78a0"
def install
bin.mkdir
system "make", "PREFIX=#{prefix}", "install"
end
test do
system bin/"n", "ls"
end
end