Delete stale dependencies in addition to stale assets.

This commit is contained in:
Joseph Cloutier
2024-05-29 20:55:09 -04:00
parent 12ddca85d9
commit 224c0a0e93
8 changed files with 97 additions and 33 deletions

View File

@@ -466,7 +466,7 @@ class WebAssemblyPlatform extends PlatformTarget
var name = Path.withoutDirectory(dependency.path);
context.linkedLibraries.push("./" + dependencyPath + "/" + name);
System.copyIfNewer(dependency.path, Path.combine(destination, Path.combine(dependencyPath, name)));
copyIfNewer(dependency.path, Path.combine(destination, Path.combine(dependencyPath, name)));
}
}
}