Files
kiss-vscode/projects/asciilib2/test.sh

20 lines
478 B
Bash
Executable File

#! /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:
# Flixel backend
EXAMPLE_DIRS=examples/flixel/**/
for EXAMPLE_DIR in $EXAMPLE_DIRS
do
echo "Building $EXAMPLE_DIR for html5"
(cd $EXAMPLE_DIR && haxelib run lime build html5)
echo "Building $EXAMPLE_DIR for cpp"
(cd $EXAMPLE_DIR && haxelib run lime build cpp)
done