diff --git a/scripts/Clean.hx b/scripts/Clean.hx index aebb1bb..3307385 100644 --- a/scripts/Clean.hx +++ b/scripts/Clean.hx @@ -4,5 +4,6 @@ using Lambda; /** Deletes all generated files. **/ function main() { ["js", "js.map"].map(ext -> 'bin/setup_hashlink.$ext').filter(FileSystem.exists).iter(FileSystem.deleteFile); + ["lib", "res"].filter(FileSystem.exists).iter(Tools.removeDirectory); Tools.cleanDirectory("var"); }