kiss-cli-tests test new-flixel-project. Close #174
This commit is contained in:
5
projects/kiss-cli-tests/new-flixel-project-input.txt
Normal file
5
projects/kiss-cli-tests/new-flixel-project-input.txt
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
TestNewFlixelProject
|
||||||
|
NQNStudios
|
||||||
|
1280
|
||||||
|
720
|
||||||
|
#000000
|
||||||
@@ -3,13 +3,26 @@
|
|||||||
# Test kiss new-project command
|
# Test kiss new-project command
|
||||||
if [ -d TestNewProject ]; then
|
if [ -d TestNewProject ]; then
|
||||||
rm -rf TestNewProject
|
rm -rf TestNewProject
|
||||||
fi
|
fi &&
|
||||||
cat new-project-input.txt | haxelib run kiss new-project && (cd TestNewProject && sh test.sh)
|
cat new-project-input.txt | haxelib run kiss new-project && (cd TestNewProject && sh test.sh) &&
|
||||||
|
|
||||||
# Test kiss new-express-project command
|
# Test kiss new-express-project command
|
||||||
if [ -d testnewexpressproject ]; then
|
if [ -d testnewexpressproject ]; then
|
||||||
rm -rf testnewexpressproject
|
rm -rf testnewexpressproject
|
||||||
fi
|
fi &&
|
||||||
cat new-express-project-input.txt | haxelib run kiss new-express-project && (cd testnewexpressproject && sh test.sh)
|
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
|
||||||
Reference in New Issue
Block a user