|
|
@ -7,13 +7,13 @@ set -eu -o pipefail |
|
|
|
|
|
|
|
# run correct build script for detected OS |
|
|
|
if [[ "$OSTYPE" == "linux-gnu"* ]]; then |
|
|
|
MAKE=make ./util/build.sh --disable-tests $@ |
|
|
|
./util/build.sh --disable-tests $@ |
|
|
|
elif [[ "$OSTYPE" == "darwin"* ]]; then |
|
|
|
./util/build-mac.sh --disable-tests $@ |
|
|
|
elif [[ "$OSTYPE" == "msys"* ]]; then |
|
|
|
./util/build-win.sh --disable-tests $@ |
|
|
|
elif [[ "$OSTYPE" == "freebsd"* ]]; then |
|
|
|
MAKE=gmake ./util/build.sh --disable-tests $@ |
|
|
|
#elif [[ "$OSTYPE" == "freebsd"* ]]; then |
|
|
|
# placeholder |
|
|
|
else |
|
|
|
echo "Unable to detect your OS. What are you using?" |
|
|
|
fi |
|
|
|