18 lines
630 B
Ruby
18 lines
630 B
Ruby
class Narwhal < Formula
|
|
desc "General purpose JavaScript platform for building applications"
|
|
homepage "https://github.com/280north/narwhal"
|
|
head "https://github.com/280north/narwhal.git"
|
|
url "https://github.com/280north/narwhal/archive/v0.3.2.tar.gz"
|
|
sha256 "a26ac20097839a5c7b5de665678fb76699371eea433d6e3b820d4d8de2ad4937"
|
|
|
|
bottle :unneeded
|
|
|
|
conflicts_with "spidermonkey", :because => "both install a js binary"
|
|
conflicts_with "elixir-build", :because => "both install `json` binaries"
|
|
|
|
def install
|
|
rm Dir["bin/*.cmd"]
|
|
libexec.install Dir["*"]
|
|
bin.install_symlink Dir["#{libexec}/bin/*"]
|
|
end
|
|
end
|