Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 20 lines (16 sloc) 380 Bytes
#!/bin/sh
VERSION=$(cat VERSION | tr -d '\n')
PWD=$(dirname $0)
CONFIG=$1
echo "Using current dir: $PWD and Config file: $CONFIG"
make
if [[ ! -f ebin/glitter*.boot ]]; then
echo "Boot file not found. Generate one"
make boot
fi
exec erl -pa \
$PWD/ebin \
$PWD/deps/*ebin \
-boot glitter-$VERSION \
-s reloader \
-glitter config_file "\"$CONFIG\""
Something went wrong with that request. Please try again.