test kiss cli commands

This commit is contained in:
2022-10-09 19:12:11 +00:00
parent ae9aa7d735
commit 6bc85c8a4e
5 changed files with 21 additions and 6 deletions

View File

@@ -30,6 +30,7 @@ jobs:
# TODO iso-rpg-engine
- KISS_PROJECT=kill-carriage-return
# TODO kiss-express
- KISS_PROJECT=kiss-cli-tests
# TODO kiss-flixel
- KISS_PROJECT=kiss-tools
- KISS_PROJECT=kiss-vscode

View File

@@ -179,12 +179,7 @@ class Macros {
// Context.definedValue only returns a string so if there's a whole
// object, I don't know how to get it
conditionInterp.variables["target"] = {
threaded:
#if (cs || neko || cpp || java || python || hl)
true
#else
false
#end
threaded: Context.getModule("sys.thread.Thread") != null
};
#if test
Prelude.print("#if condition hscript: " + hscriptStr);

View File

@@ -0,0 +1,7 @@
package TestNewProject;
class Main {
static function main() {
Main_.main();
}
}

View File

@@ -0,0 +1,6 @@
TestNewProject
NQNStudios
https://github.com/NQNStudios/kisslang
LGPL
test
test kiss new-project

View File

@@ -0,0 +1,6 @@
#! /bin/sh
# Test kiss new-project command
cat new-project-input.txt | haxelib run kiss new-project
# TODO test other kiss project templates