2015-06-30 15:13:49 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
type="RELEASE"
|
|
|
|
|
|
|
|
if [ "$1" == "--dev" ] || [ "$1" == "-d" ]; then
|
|
|
|
type="DEV"
|
|
|
|
elif [ "$1" == "--help" ] || [ "$1" == "-h" ]; then
|
|
|
|
echo -e "This is the 3dinterface builder"
|
|
|
|
echo -e "\t - ./build_all.sh \t\tBuilds and minify everything needed"
|
|
|
|
echo -e "\t - ./build_all.sh --dev\t\tBuilds everything without minifying"
|
|
|
|
exit 0
|
|
|
|
fi
|
|
|
|
|
|
|
|
cd ../js
|
|
|
|
make -j TYPE=$type
|
2015-12-01 15:47:10 +01:00
|
|
|
cd ../server/geo
|
2015-06-30 15:13:49 +02:00
|
|
|
make -j TYPE=$type
|
|
|
|
|