summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2026-01-02 14:51:46 +0200
committerJan Tuomi <jan@jantuomi.fi>2026-01-02 16:21:05 +0200
commit0e0701cb3baf603e1773194031ab37ec779dd8ff (patch)
tree1e289a76f7f5f4788769d1ba6dc2e74decb0f9af /Makefile
parent25cf78720efb544c0c2516d1a4137035878b6a2e (diff)
Improvements
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f253604..4606ec4 100644
--- a/Makefile
+++ b/Makefile
@@ -4,12 +4,18 @@ all:
./update-linklog-json.sh
zola build
+.PHONY: dev
dev:
@echo "Starting development server..."
./update-linklog-json.sh
zola serve
+.PHONY: deploy
+deploy:
+ @echo "Deploying project..."
+ rsync -rvzP --delete --chown 80:80 out/* $(RSYNC_TARGET)
+
.PHONY: clean
clean:
@echo "Cleaning project..."
- rm -r public
+ rm -rf public