homebrew-core/Formula/narwhal.rb
Miguel Araújo 17be1473c9 narwhal: fix audit
narwhal:
  * `checksum` (line 6) should be put before `head` (line 4)
2017-02-12 16:19:07 +00:00

18 lines
630 B
Ruby

class Narwhal < Formula
desc "General purpose JavaScript platform for building applications"
homepage "https://github.com/280north/narwhal"
url "https://github.com/280north/narwhal/archive/v0.3.2.tar.gz"
sha256 "a26ac20097839a5c7b5de665678fb76699371eea433d6e3b820d4d8de2ad4937"
head "https://github.com/280north/narwhal.git"
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