From cbfa0d64b2c002ac97087c8bde4e263babded899 Mon Sep 17 00:00:00 2001 From: Marty Sluijtman Date: Thu, 18 Aug 2022 14:37:33 +0200 Subject: [PATCH] Make files are both amazing and awful --- Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..bea475a --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +src := public +target := voidcruiser.nl + +push: $(target) + rsync -ahv $(target) voidDroplet:/var/www/ --delete + +$(target): build + mv $(src) $(target) + +build: + hugo + +clean: + rm -rf $(target) + +.PHONY := build push clean