generate main functions for Kiss files
This commit is contained in:
@@ -134,6 +134,7 @@
|
||||
(set lastConfigDir (joinPath (userHome) ".kiss-vscode" "lastActiveConfig"))
|
||||
(tryLoadConfig)))
|
||||
|
||||
// Manually define main so it will exist when test is not defined:
|
||||
(function :Void main []
|
||||
(#when test
|
||||
(set builtinConfigDir "config")
|
||||
|
@@ -1,3 +1,4 @@
|
||||
#! /bin/bash
|
||||
|
||||
# Run the build without -D test first, to make sure it works that way too:
|
||||
haxe build.hxml && haxe -D test build.hxml -cmd "node bin/extension.js"
|
Reference in New Issue
Block a user