summaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
authorDave Smith <dizzyd@dizzyd.com>2009-12-04 13:48:57 -0700
committerDave Smith <dizzyd@dizzyd.com>2009-12-04 13:48:57 -0700
commitb49189869067401c9da92a22f0a2343b7a2a2456 (patch)
tree71067ef3fc688b26c2f919e6234340a906add155 /install
parent63d4968e36275e4d8ab4698d002b0e5db6d0d7a1 (diff)
Refactor rebar to build a self-contained script
Diffstat (limited to 'install')
-rwxr-xr-xinstall20
1 files changed, 0 insertions, 20 deletions
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 ${@}