aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2022-11-21 14:06:35 -0500
committerThedro Neely <thedroneely@gmail.com>2022-11-21 15:30:59 -0500
commit24a5072acdc232a67305bba5fd29b6817c905f5e (patch)
tree6f887500d3332dc519bf2ca6b18259b03d4505c0
parentde6f5e2be5dfbd2c55dd689439f46363649ae747 (diff)
downloadedwinmattiacci.com-24a5072acdc232a67305bba5fd29b6817c905f5e.tar.gz
edwinmattiacci.com-24a5072acdc232a67305bba5fd29b6817c905f5e.tar.bz2
edwinmattiacci.com-24a5072acdc232a67305bba5fd29b6817c905f5e.zip
Makefile: Rotate comments and database
-rw-r--r--Makefile7
1 files 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