mirror of
https://git.acl.cool/al/pages.git
synced 2025-12-15 20:11:17 -05:00
umbral9 init
This commit is contained in:
parent
4475d924a1
commit
73a6112f94
3 changed files with 52 additions and 61 deletions
4
build.sh
4
build.sh
|
|
@ -84,15 +84,11 @@ for site in acl.cool ytheleus.org; do
|
|||
soup_config
|
||||
rm -rf serve/
|
||||
soupault
|
||||
if (( $? != 0 )); then
|
||||
exit $?;
|
||||
fi
|
||||
pushd serve
|
||||
find -type f -name '*.html' -o -name '*.css' -o -name '*.svg' | xargs -0 -d\\n -I{} minify -o {} {}
|
||||
popd
|
||||
NEXT_DIR="serve_$(date +%s)"
|
||||
CUR_DIR=$(find . -maxdepth 1 -type d -regex './serve_[0-9]+')
|
||||
echo "$PREV_DIR"
|
||||
cp -a serve "$NEXT_DIR"
|
||||
ln -sfn "$NEXT_DIR" serve_
|
||||
for d in $CUR_DIR; do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue