mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-01-18 17:21:33 +00:00
a79803cbd6
Added gulp-replace dev dependency. Removed version strings of Fontello fonts from fontello.css Added "build:fontello" Gulp task which will append version string to Fontello fonts, then do the usual processing for CSS file. It will use type 5 from versions.json, if available. Also updated src/README.md about it. |
||
---|---|---|
.. | ||
bump-versions.js | ||
cf-purge.js | ||
clean-up.js | ||
delete-expired.js | ||
README.md | ||
thumbs.js |
README
cf-purge.js
$ yarn cf-purge
$ node ./scripts/cf-purge.js
Purge Cloudflare's cache.
Usage:
node scripts/cf-purge.js ...filename
filename:
Upload names separated by space (will automatically include their thumbs if available).
clean-up.js
$ yarn clean-up -h
$ node ./scripts/clean-up.js -h
Clean up files that are not in the database.
Usage:
node scripts/clean-up.js [mode=0|1|2]
mode:
0 = Only list names of files that are not in the database.
1 = Clean up the files.
delete-expired.js
$ yarn delete-expired -h
$ node ./scripts/delete-expired.js -h
Bulk delete expired files.
Usage:
node scripts/delete-expired.js [mode=0|1|2]
mode:
0 = Only list names of the expired files.
1 = Delete expired files (output file names).
2 = Delete expired files (no output).