Fix rebuild.hxml -lib references if using local haxelib repo

This commit is contained in:
Joshua Granick
2017-07-17 17:07:27 -07:00
parent b3e03c4a56
commit 0e1c01f38d

View File

@@ -323,8 +323,13 @@ class CommandLineTools {
if (hxmlPath != null && FileSystem.exists (hxmlPath)) {
var cacheValue = Sys.getEnv ("HAXELIB_PATH");
Sys.putEnv ("HAXELIB_PATH", HaxelibHelper.getRepositoryPath ());
ProcessHelper.runCommand (Path.directory (hxmlPath), "haxe", [ Path.withoutDirectory (hxmlPath) ]);
Sys.putEnv ("HAXELIB_PATH", cacheValue);
}
} else {