kiss-cli-tests test new-flixel-project. Close #174

This commit is contained in:
2023-01-22 14:37:13 -07:00
parent c5e7408a1c
commit 97eb91c5b1
2 changed files with 23 additions and 5 deletions

View File

@@ -0,0 +1,5 @@
TestNewFlixelProject
NQNStudios
1280
720
#000000

View File

@@ -3,13 +3,26 @@
# Test kiss new-project command
if [ -d TestNewProject ]; then
rm -rf TestNewProject
fi
cat new-project-input.txt | haxelib run kiss new-project && (cd TestNewProject && sh test.sh)
fi &&
cat new-project-input.txt | haxelib run kiss new-project && (cd TestNewProject && sh test.sh) &&
# Test kiss new-express-project command
if [ -d testnewexpressproject ]; then
rm -rf testnewexpressproject
fi
cat new-express-project-input.txt | haxelib run kiss new-express-project && (cd testnewexpressproject && sh test.sh)
fi &&
cat new-express-project-input.txt | haxelib run kiss new-express-project && (cd testnewexpressproject && sh test.sh) &&
# TODO test other kiss project templates
# Test kiss new-flixel-project command
if [ ! -z "$CI_OS_NAME" ]
then
haxelib install lime
haxelib install openfl
haxelib install flixel
fi &&
if [ -d TestNewFlixelProject ]; then
rm -rf TestNewFlixelProject
fi &&
cat new-flixel-project-input.txt | haxelib run kiss new-flixel-project && (cd TestNewFlixelProject && haxelib run lime build neko)
# &&
# TODO test other kiss project templates