From 24a5072acdc232a67305bba5fd29b6817c905f5e Mon Sep 17 00:00:00 2001 From: Thedro Neely Date: Mon, 21 Nov 2022 14:06:35 -0500 Subject: Makefile: Rotate comments and database --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f64cbd6..088a9e1 100644 --- a/Makefile +++ b/Makefile @@ -43,8 +43,11 @@ deploy: | xargs rm -rf cache: - { [ -e '$(public)' ] \ - && rsync --verbose --archive --include="*/" --include="*.min.*" --exclude="*" '$(public)/dist/' '$(prelaunch)/dist'; } || true + { [ -e '$(public)' ] && \ + rsync --verbose --archive --include="*/" --include="*.min.*" --exclude="*" '$(public)/dist/' '$(prelaunch)/dist'; \ + rsync --verbose --archive '$(public)/../bootstrap/comments/comments/' '$(prelaunch)/../bootstrap/comments/comments'; \ + rsync --verbose --archive '$(public)/../database/sqlite.db' '$(prelaunch)/../database/sqlite.db'; \ + } || true minify: minify $(prelaunch)/dist/app.css > $(prelaunch)/dist/app.min.'$(date)'.css -- cgit v1.2.3