first commit

This commit is contained in:
2025-04-24 13:11:28 +08:00
commit ff9c54d5e4
5960 changed files with 834111 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
#!/usr/bin/env bash
set -e -o pipefail
SCRIPT_PATH=$(realpath "${BASH_SOURCE[0]}")
SCRIPT_DIR=$(dirname "$SCRIPT_PATH")
pushd /tmp
find public/ -type d | sed 's!^!compressed/!' | xargs mkdir --parents
find public/ -type f -print0 \
| xargs --null --max-args 20 --max-procs 10 "$SCRIPT_DIR/compress_batch_of_assets"
popd