diff options
author | Freya Murphy <freya@freyacat.org> | 2024-12-23 11:13:27 -0500 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2024-12-23 11:13:27 -0500 |
commit | 5a2ba9c2e7605bb788bc406184547d22c6436867 (patch) | |
tree | cbd988d534e8a8593a31d70571222443f80da0b3 /build/stamp.sh | |
parent | fix about modal (diff) | |
download | xssbook2-5a2ba9c2e7605bb788bc406184547d22c6436867.tar.gz xssbook2-5a2ba9c2e7605bb788bc406184547d22c6436867.tar.bz2 xssbook2-5a2ba9c2e7605bb788bc406184547d22c6436867.zip |
v2.1.0, refactor w/ crimson
Diffstat (limited to 'build/stamp.sh')
-rw-r--r-- | build/stamp.sh | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/build/stamp.sh b/build/stamp.sh deleted file mode 100644 index 3b19b04..0000000 --- a/build/stamp.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -out="./src/web/stamp.php" -public="./src/public" -files=$(find "$public" -type f -printf %P\\n) - -printf "<?php\n\$__stamps = array();\n" > "$out" -for file in $files; do - stamp=$(date +%s -r "$public/$file") - echo "\$__stamps['public/$file'] = $stamp;" >> "$out"; -done -echo "define('FILE_TIMES', \$__stamps);" >> "$out" -echo "unset(\$__stamps);" >> "$out" - |