From 9919f1ef0400e69dbc3a7b03fc21d8dff029cab8 Mon Sep 17 00:00:00 2001 From: Dave Cottlehuber Date: Tue, 10 Feb 2015 10:48:03 +0100 Subject: lfe 0.9.1 (new formula) Closes #36696. Signed-off-by: Mike McQuaid --- Library/Formula/lfe.rb | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Library/Formula/lfe.rb (limited to 'Library') diff --git a/Library/Formula/lfe.rb b/Library/Formula/lfe.rb new file mode 100644 index 000000000..bc2ab3940 --- /dev/null +++ b/Library/Formula/lfe.rb @@ -0,0 +1,20 @@ +class Lfe < Formula + homepage "http://lfe.io/" + url "https://github.com/rvirding/lfe/archive/v0.9.1.tar.gz" + sha1 "015c23e7c761c2ccfefb7a9f97f85fe09f1cd648" + + head "https://github.com/rvirding/lfe.git", :branch => "develop" + + depends_on "erlang" + depends_on "rebar" + + def install + system "rebar", "compile" + bin.install Dir["bin/*"] + prefix.install "ebin" + end + + test do + system bin/"lfe", "-eval", "'(io:format \"42\")'" + end +end -- cgit v1.2.3