]> git.stg.codes - stg.git/blob - functest/build.sh
Fixed services test.
[stg.git] / functest / build.sh
1 #!/bin/sh
2
3 BASEPATH=$1
4
5 if [ "$BASEPATH" == "" ]
6 then
7     printf "Usage: $0 <path>\n"
8     exit -1
9 fi
10
11 if [ ! -d "$BASEPATH" ]
12 then
13     printf "Path '$BASEPATH' does not exist or not a directory.\n"
14     exit -1
15 fi
16
17 cd "$BASEPATH/stg/projects/stargazer"
18 ./build debug
19 make clean
20 make
21
22 cd "$BASEPATH/stg/projects/sgconf"
23 ./build debug
24 make clean
25 make