From b49189869067401c9da92a22f0a2343b7a2a2456 Mon Sep 17 00:00:00 2001 From: Dave Smith Date: Fri, 4 Dec 2009 13:48:57 -0700 Subject: Refactor rebar to build a self-contained script --- install | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100755 install (limited to 'install') diff --git a/install b/install deleted file mode 100755 index e11b547..0000000 --- a/install +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -## Check path for exiting rebar instance -- if it's around, use it -## for compilation (NOT installation!) -`which -s rebar` -if [ $? == 0 ]; then - rebar compile ${@} -else - ## Use raw erlc.. - erlc -I include -o ebin src/*.erl -fi - -if [ $? != 0 ]; then - exit $? -fi - -## Use application installer to perform actual installation -## into erlang distro -export ERL_LIBS=`(cd .. && pwd)` -priv/rebar install ${@} -- cgit v1.1