mirror of
https://github.com/correl/rebar.git
synced 2024-12-24 11:50:52 +00:00
13 lines
244 B
Bash
Executable file
13 lines
244 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# Fail on first error
|
|
set -e
|
|
|
|
## Compile
|
|
erlc -I include -o ebin src/*.erl
|
|
|
|
## Use application installer to perform actual installation
|
|
## into erlang distro
|
|
export ERL_LIBS=`(cd .. && pwd)`
|
|
echo $ERL_LIBS
|
|
priv/rebar install ${@}
|