new-project subcommand mostly works

This commit is contained in:
2021-06-13 23:00:30 -06:00
parent da22c31fe8
commit 90f6cbb23c
6 changed files with 102 additions and 4 deletions

4
template/build.hxml Normal file
View File

@@ -0,0 +1,4 @@
-lib kiss
-cp src
--main template.Main
--interp

15
template/haxelib.json Normal file
View File

@@ -0,0 +1,15 @@
{
"name": "template",
"url": "https://github.com/hissvn/kisslang",
"license": "LGPL",
"tags": [],
"description": "",
"version": "0.0.0",
"releasenote": "",
"contributors": ["NQNStudios"],
"classPath": "src/",
"main": "template.Main",
"dependencies": {
"kiss": ""
}
}

View File

@@ -0,0 +1,7 @@
package template;
import kiss.Kiss;
import kiss.Prelude;
@:build(kiss.Kiss.build())
class Main {}

View File

@@ -0,0 +1,2 @@
(defun :Void main []
(print "Hello world!"))

3
template/test.sh Normal file
View File

@@ -0,0 +1,3 @@
#! /bin/bash
haxe build.hxml