blob: 9fc9bd02bd2b07430116377999f3c291284b0422 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/bash
P=$(uname | sed -e 's/_.*//' | tr '[:upper:]' '[:lower:]' | sed -e 's/\//_/g')
PLATFORM=${PLATFORM:-$P}
failed=0
if [[ $PLATFORM == "darwin" ]]; then
rm -rf build
USE_FREETYPE=0 USE_RESTCLIENT=1 USE_INTERNAL_LUA=1 make -j 2 release || failed=1
./misc/download-paks.sh
fi
if [[ $failed -eq 1 ]]; then
echo "Build failure."
else
echo "Build successful."
fi
exit $failed
|