Scripts/build.sh

20 lines
270 B
Bash
Raw Normal View History

2019-10-23 13:28:52 +02:00
#!/usr/bin/env bash
echo 'building all components'
cd ..
for d in */; do
cd "$d"
FILE=build
if [ -f $FILE ]; then
echo 'building component ' + $d
cd build
cmake ..
make
make test
cd ..
fi
cd ..
done