homebrew-core/Formula/elixir-build.rb
2016-04-09 21:53:19 +08:00

20 lines
551 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"
bottle :unneeded
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