summaryrefslogtreecommitdiffstats
path: root/jjb/sweetcomb/include-raw-sweetcomb-build.sh
blob: 30e42c4a4a28da418361f9732bdd30f948d19778 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash
# basic build script example
set -xe -o pipefail

OS_ID=$(grep '^ID=' /etc/os-release | cut -f2- -d= | sed -e 's/\"//g')
OS_VERSION_ID=$(grep '^VERSION_ID=' /etc/os-release | cut -f2- -d= | sed -e 's/\"//g')

echo OS_ID: $OS_ID
echo OS_VERSION_ID: $OS_VERSION_ID

echo "Building using \"make build-root/build.sh\""
[ "x${DRYRUN}" == "xTrue" ] || make UNATTENDED=yes install-dep
[ "x${DRYRUN}" == "xTrue" ] || make UNATTENDED=yes install-dep-extra
[ "x${DRYRUN}" == "xTrue" ] || make UNATTENDED=yes install-vpp
[ "x${DRYRUN}" == "xTrue" ] || make UNATTENDED=yes build-scvpp
[ "x${DRYRUN}" == "xTrue" ] || make UNATTENDED=yes build

echo "*******************************************************************"
echo "* SWEETCOMB BUILD SUCCESSFULLY COMPLETED"
echo "*******************************************************************"