X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/17409dcc5a7e9f03a1180cd740b963b53c2ce6ee..704c26980e576b01caf27af751ca5ca08f8f355a:/functest/build.sh diff --git a/functest/build.sh b/functest/build.sh new file mode 100755 index 00000000..a84e9e0d --- /dev/null +++ b/functest/build.sh @@ -0,0 +1,25 @@ +#!/bin/sh + +BASEPATH=$1 + +if [ "$BASEPATH" == "" ] +then + printf "Usage: $0 \n" + exit -1 +fi + +if [ ! -d "$BASEPATH" ] +then + printf "Path '$BASEPATH' does not exist or not a directory.\n" + exit -1 +fi + +cd "$BASEPATH/stg/projects/stargazer" +./build debug +make clean +make + +cd "$BASEPATH/stg/projects/sgconf" +./build debug +make clean +make