[test] Run lime build over flixel projects

This commit is contained in:
2021-04-27 17:37:34 -06:00
parent d352bf791f
commit fa5db8233a
5 changed files with 35 additions and 1 deletions

View File

@@ -1,4 +1,18 @@
#! /bin/bash
haxelib dev asciilib .
(cd test && haxe build.hxml)
# Run the headless unit tests:
echo "Running headless ASCIILib tests"
(cd test && haxe build.hxml)
# Make sure the examples with backends compile, at least:
EXAMPLE_DIRS=examples/**/
for EXAMPLE_DIR in $EXAMPLE_DIRS
do
echo "Building $EXAMPLE_DIR for html5"
(cd $EXAMPLE_DIR && lime build html5)
echo "Building $EXAMPLE_DIR for cpp"
(cd $EXAMPLE_DIR && lime build cpp)
done

12
projects/flixel/test.sh Executable file
View File

@@ -0,0 +1,12 @@
#! /bin/bash
# Make sure the examples with backends compile, at least:
EXAMPLE_DIRS=./**/
for EXAMPLE_DIR in $EXAMPLE_DIRS
do
echo "Building $EXAMPLE_DIR for html5"
(cd $EXAMPLE_DIR && lime build html5)
echo "Building $EXAMPLE_DIR for cpp"
(cd $EXAMPLE_DIR && lime build cpp)
done