[test] Run lime build over flixel projects
This commit is contained in:
0
kiss/build-scripts/cpp/test-cpp.sh
Normal file → Executable file
0
kiss/build-scripts/cpp/test-cpp.sh
Normal file → Executable file
0
kiss/build-scripts/py/test-py.sh
Normal file → Executable file
0
kiss/build-scripts/py/test-py.sh
Normal file → Executable file
@@ -1,4 +1,18 @@
|
||||
#! /bin/bash
|
||||
|
||||
haxelib dev asciilib .
|
||||
|
||||
# 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
12
projects/flixel/test.sh
Executable 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
|
||||
@@ -3,7 +3,15 @@
|
||||
PROJECT_DIRS=projects/**/
|
||||
|
||||
if [ ! -z "${TRAVIS_OS_NAME}" ]; then
|
||||
# Install basic dependencies for Kiss testing
|
||||
(cd kiss/build-scripts && haxelib install all --always)
|
||||
|
||||
# Install HaxeFlixel because many Kiss projects use it
|
||||
haxelib install lime
|
||||
haxelib install openfl
|
||||
haxelib install flixel
|
||||
haxelib run lime setup flixel
|
||||
haxelib run lime setup
|
||||
fi
|
||||
|
||||
for PROJECT_DIR in $PROJECT_DIRS
|
||||
|
||||
Reference in New Issue
Block a user