aboutsummaryrefslogtreecommitdiffstats
path: root/.travis/build.sh
blob: 9e12ada31fafbadddc8ddbce4ff7dc3538f24390 (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