From 6afaa4391146066d31eb0fd705fb1bf9e1cfec93 Mon Sep 17 00:00:00 2001 From: Chandler Swift Date: Mon, 3 Jul 2023 17:12:02 -0500 Subject: [PATCH] Add Makefile --- Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..39a13bd --- /dev/null +++ b/Makefile @@ -0,0 +1,17 @@ +.PHONY: deploy +deploy: build + rsync --archive --verbose --delete dist/ zirconium.home.chandlerswift.com:/var/www/maps.chandlerswift.com/ + +.PHONY: clean +clean: + rm -r dist + +.PHONY: build +build: # TODO: add get_data as a prereq + npm run build + +# in theory I could use non-phony targets here, but then I'd have to be updating +# this file much more often. Maybe as things stabilize! +.PHONY: get_data +get_data: + ./data/get_all_data.sh