[haxe] fixes for windows compatibility

This commit is contained in:
2018-04-27 15:36:15 +03:00
parent 251d2fea1e
commit 22a371292f
5 changed files with 33 additions and 19 deletions

View File

@@ -86,7 +86,13 @@ class HaxeBuilder extends Builder {
}
prepare() {
return this.haxe.prepare();
let result = this.haxe.prepare().then(() => this.haxe.install(this.config.libs));
/*if (this.buildSystem === BuildSystem.OPENFL) {
result = result.then(() => {
return this.haxe.haxelib(['run', 'openfl', 'setup', this.platform]);
});
}*/
return result;
}
call() {
@@ -294,6 +300,7 @@ class LinuxRunner extends Runner {
}
Runner.register(Platform.LINUX, LinuxRunner);
Runner.register(Platform.WINDOWS, LinuxRunner); //ToDo:
/**
*