~ build script fixed
+ checkout dev branches script
This commit is contained in:
parent
f5f1a8dcee
commit
836a1532cc
12
build.sh
12
build.sh
@ -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
16
checkout-dev.sh
Normal 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
|
@ -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
|
Loading…
Reference in New Issue
Block a user