This giant patch makes some much needed improvements to the code base. * The engine has been rewritten and lives within engine/graph/ * All of the common interfaces and code now live in engine/ * All of the resources are in one package called engine/resources/ * The Res API can use different "traits" from engine/traits/ * The Res API has been simplified to hide many of the old internals * The Watch & Process loops were previously inverted, but is now fixed * The likelihood of package cycles has been reduced drastically * And much, much more... Unfortunately, some code had to be temporarily removed. The remote code had to be taken out, as did the prometheus code. We hope to have these back in new forms as soon as possible.
35 lines
565 B
Bash
Executable File
35 lines
565 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e -o pipefail
|
|
|
|
echo running "$(basename "$0")"
|
|
|
|
. test/util.sh
|
|
|
|
# test if we can build for all OSes and ARCHes.
|
|
|
|
tmpdir="`$mktemp --tmpdir -d tmp.XXX`" # get a dir outside of the main package
|
|
if [[ ! "$tmpdir" =~ "/tmp" ]]; then
|
|
echo "unexpected tmpdir in: ${tmpdir}"
|
|
exit 99
|
|
fi
|
|
log="$tmpdir/$(basename $0 .sh).log"
|
|
|
|
set +e
|
|
make crossbuild &> "$log"
|
|
|
|
RET=$?
|
|
if [ ! $RET -eq 0 ]; then
|
|
echo 'FAIL'
|
|
cat "$log"
|
|
else
|
|
echo 'PASS'
|
|
fi
|
|
|
|
if [ "$tmpdir" = "" ]; then
|
|
echo "BUG, tried to delete empty string path"
|
|
exit 99
|
|
fi
|
|
rm -rf "$tmpdir"
|
|
exit $RET
|