homebrew-core/Formula/elixir-build.rb
Andrew Janke f801a21305 audit fixes: E 02: elementary - emscripten
Closes Homebrew/homebrew#45137.

Signed-off-by: Andrew Janke <andrew@apjanke.net>
2015-11-03 19:32:24 -05:00

18 lines
531 B
Ruby

class ElixirBuild < Formula
desc "Elixir version of ruby-build"
homepage "https://github.com/mururu/elixir-build"
url "https://github.com/mururu/elixir-build/archive/v20141001.tar.gz"
sha256 "825637780a580b7ebe8c5265a43d37ceff9f3876e771aa2f824079e504ad7347"
head "https://github.com/mururu/elixir-build.git"
conflicts_with "narwhal", :because => "both install `json` binaries"
def install
ENV["PREFIX"] = prefix
system "./install.sh"
end
test do
system "#{bin}/elixir-build", "--version"
end
end