Initial support for modular JS output

This commit is contained in:
Joshua Granick
2016-10-21 15:24:37 -07:00
parent 63a17d8884
commit e14d8e7db0
8 changed files with 599 additions and 1 deletions

View File

@@ -1395,6 +1395,26 @@ class CommandLineTools {
}
if (Sys.getEnv ("HAXEPATH") == null) {
if (PlatformHelper.hostPlatform == Platform.WINDOWS) {
Sys.putEnv ("HAXEPATH", "C:\\HaxeToolkit\\haxe\\");
} else {
Sys.putEnv ("HAXEPATH", "/usr/lib/haxe");
}
}
if (Sys.getEnv ("HAXE_STD_PATH") == null) {
Sys.putEnv ("HAXE_STD_PATH", PathHelper.combine (Sys.getEnv ("HAXEPATH"), "std"));
}
if (project == null) {
HXProject._command = command;