~ build script fixed

+ checkout dev branches script
This commit is contained in:
Johannes Theiner 2019-10-23 14:19:00 +02:00
parent f5f1a8dcee
commit 836a1532cc
4 changed files with 29 additions and 5 deletions

View File

@ -4,11 +4,19 @@ echo 'building all components'
cd ..
#building library first
cd library/build
cmake ..
make
make test
cd ../..
for d in */; do
cd "$d"
FILE=build
if [ -f $FILE ]; then
echo 'building component ' + $d
echo $d
if [ -d $FILE ]; then
echo 'building component ' $d
cd build
cmake ..
make

16
checkout-dev.sh Normal file
View File

@ -0,0 +1,16 @@
#!/usr/bin/env bash
cd ..
for d in */; do
cd "$d"
FILE=build
if [ -d $FILE ]; then
git checkout dev
fi
cd ..
done
cd
./build.sh

View File

@ -78,7 +78,7 @@ mkdir simple-draw/build
git clone ssh://git@gitlab.repo.digitech.hs-emden-leer.de:2222/link/projekte/ws19/vkvm-new/demo.git
mkdir demo/build
cd Scripts
cd installation
echo "installation completed"
./build.sh

View File

@ -7,8 +7,8 @@ cd ..
for d in */; do
cd "$d"
FILE=build
if [ -f $FILE ]; then
echo 'updating componenent ' + $d
if [ -d $FILE ]; then
echo 'updating componenent ' $d
git pull
fi