Browse Source

added build-test script

master
Julian Hinxlage 1 year ago
parent
commit
599e40541b
  1. 28
      build-test.sh
  2. 4
      build.sh

28
build-test.sh

@ -0,0 +1,28 @@
#!/usr/bin/env bash
echo 'building all components'
cd ..
#building library first
cd library/build
cmake ..
make
make test
cd ../..
for d in */; do
cd "$d"
FILE=build
echo $d
if [ -d $FILE ]; then
echo 'building component ' $d
cd build
cmake ..
make
make test
cd ..
fi
cd ..
done

4
build.sh

@ -8,7 +8,6 @@ cd ..
cd library/build
cmake ..
make
make test
cd ../..
for d in */; do
@ -20,9 +19,8 @@ for d in */; do
cd build
cmake ..
make
make test
cd ..
fi
cd ..
done
done
Loading…
Cancel
Save