3d-interface/utils/build_all.sh

20 lines
435 B
Bash
Raw Normal View History

2015-06-30 15:13:49 +02:00
#!/bin/bash
type="RELEASE"
if [ "$1" == "--dev" ] || [ "$1" == "-d" ]; then
echo yes
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
cd ../geo
make -j TYPE=$type