main.sh 233 字节
Newer Older
Y
Yu Yang 已提交
1 2 3 4 5 6 7
#!/bin/bash
cd `dirname $0`

if [ ${JOB} == "BUILD_AND_TEST" ]; then
  ./build_and_test.sh
elif [ ${JOB} == "DOCS" ]; then
  ./docs.sh
Y
Yu Yang 已提交
8 9
elif [ ${JOB} == "PRE_COMMIT" ]; then
  ./precommit.sh
Y
Yu Yang 已提交
10 11 12 13
else
  echo Unknown job ${JOB}
  exit 1
fi