20 lines
483 B
Bash
Executable File
20 lines
483 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Usage: the first argument selects the build type:
|
|
# - release, to build release only
|
|
# - debug, to build debug only
|
|
# - continuous, to build release and debug
|
|
# - presubmit, for presubmit builds
|
|
#
|
|
# The default is release
|
|
|
|
set -e
|
|
set -x
|
|
|
|
source `dirname $0`/../common/ci-common.sh
|
|
source `dirname $0`/ci-common.sh
|
|
source `dirname $0`/../common/build-common.sh
|
|
|
|
pushd `dirname $0`/../.. > /dev/null
|
|
./build.sh -p webgl -c $GENERATE_ARCHIVES $BUILD_DEBUG $BUILD_RELEASE
|