You've already forked gitified_old_clb_svn
17 lines
371 B
Bash
Executable File
17 lines
371 B
Bash
Executable File
#!/bin/sh
|
|
# A trivial script to build with all known configurations
|
|
# (please add a configs/ file to test your special case
|
|
|
|
T=$(mktemp /tmp/wrpc-config.XXXXXX)
|
|
|
|
configs=$(ls configs)
|
|
for c in $configs; do
|
|
echo "##### Building with '$c'"
|
|
if ! make $c 2>&1 >> $T; then
|
|
echo "Error in configuration (see $T)"
|
|
exit 1
|
|
fi
|
|
make -s clean
|
|
make -s
|
|
done
|
|
rm $T |