creating a clean build folder
This commit is contained in:
parent
640a80b4c2
commit
1886dec556
1 changed files with 6 additions and 1 deletions
|
@ -17,7 +17,12 @@ set -eux
|
||||||
|
|
||||||
#folder where this script is stored.
|
#folder where this script is stored.
|
||||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||||||
export WORKSPACE=$BUILDKITE_BUILD_PATH
|
export WORKSPACE=${BUILDKITE_BUILD_PATH}
|
||||||
|
|
||||||
|
# create a clean build folder
|
||||||
|
BUILD_DIR=${BUILDKITE_BUILD_PATH}/build
|
||||||
|
rm -rf ${BUILD_DIR} || true
|
||||||
|
mkdir -p ${BUILD_DIR}
|
||||||
|
|
||||||
echo "--- CMake"
|
echo "--- CMake"
|
||||||
${DIR}/run_cmake.sh
|
${DIR}/run_cmake.sh
|
||||||
|
|
Loading…
Add table
Reference in a new issue