mirror of
https://github.com/correl/rebar.git
synced 2024-11-23 19:19:54 +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 ${@}
|