7a4dabfc1a
This restores 1.8 hash rockets because they look nicer with e.g. `depends_on :foo => :bar`
20 lines
551 B
Ruby
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
|