mirror of
https://github.com/horsicq/Detect-It-Easy.git
synced 2026-06-24 01:54:08 +00:00
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.
5 lines
No EOL
125 B
Batchfile
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 |