aboutsummaryrefslogtreecommitdiffstats
path: root/.travis/build.sh
blob: ce9df0195b843df4205726eb6d20b15bf36b37a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

set -ex

if [[ -n "${TARGET}" ]] && [[ -e ".travis/targets/${TARGET}.sh" ]]; then
    source ".travis/targets/${TARGET}.sh"
else
    echo "Target not defined or invalid!"
    exit 1
fi

rm -rf build
mkdir -p build

build