more DRY haxelib dev of projects for testing
This commit is contained in:
@@ -3,24 +3,12 @@
|
||||
KISS_PROJECT=${KISS_PROJECT:-$1}
|
||||
KISS_PROJECT=${KISS_PROJECT:-aoc}
|
||||
|
||||
haxelib dev kiss kiss
|
||||
|
||||
# If project folder contains "nat-", set development directory for nat-archive-tool
|
||||
if [[ $KISS_PROJECT == *nat-* ]]
|
||||
then
|
||||
haxelib dev nat-archive-tool projects/nat-archive-tool
|
||||
fi
|
||||
|
||||
# If project folder contains "ascii-", set development directory for asciilib2
|
||||
if [[ $KISS_PROJECT == *ascii-* ]]
|
||||
then
|
||||
haxelib dev asciilib projects/asciilib2
|
||||
fi
|
||||
./test-env.sh
|
||||
|
||||
# If project folder contains "flixel-", test that its code compiles for HTML5 and C++
|
||||
if [[ $KISS_PROJECT == *flixel-* ]]
|
||||
then
|
||||
# If running through Travis, install HaxeFlixel with c++ tooling and
|
||||
# If running through Travis, install HaxeFlixel with c++ tooling
|
||||
if [ ! -z "CI_OS_NAME" ]
|
||||
then
|
||||
haxelib install lime
|
||||
|
||||
Reference in New Issue
Block a user