Detect-It-Easy/dbs_min_generate.cmd
DosX 455967700f Skip unchanged files and remove obsolete outputs
Avoid unnecessary file rewrites and prune stale outputs. Add writeIfChanged to worker.js to skip writing identical content (new 'skipped' / '*-skip' result types), update task.js to count skipped/deleted files and report stats, and introduce syncDeleteOldFiles/getAllFilesInDir/deleteEmptyDirs to remove obsolete files from dbs_min before processing. Also restore MAX_PARALLEL to 16 and simplify worker resolution/exit handling. Finally, comment out the unconditional rd command in dbs_min_generate.cmd so the output folder is preserved.
2026-02-14 19:24:00 +03:00

5 lines
No EOL
125 B
Batchfile

@echo off
:: rd dbs_min /q /s
node autotools\dbcompiler\task.js
echo Generated: %DATE%>dbs_min\timestamp.log
call db_compress