Fix rebuild.hxml -lib references if using local haxelib repo
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user