From d04c678fb50b9d2fc5ef984ec181a1767b8acf20 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Wed, 26 Jul 2023 17:32:05 +0200 Subject: also reorder to make deploy the default --- makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/makefile b/makefile index 0c22499..0b59ae1 100644 --- a/makefile +++ b/makefile @@ -1,5 +1,7 @@ ESFLAGS = --target=esnext --format=esm +deploy-dir: deploy deploy/bundle.js deploy/style.css deploy/index.html deploy/bangs-ddgless + .PHONY: watch clean deploy-dir watch-script: esbuild frontend/main.ts --bundle --outfile=deploy/bundle.js $(ESFLAGS) --watch @@ -12,9 +14,6 @@ clean: rm deploy.zip rmdir deploy # this may fail if the server was run, due to the bangs.json being generated - -deploy-dir: deploy deploy/bundle.js deploy/style.css deploy/index.html deploy/bangs-ddgless - deploy.zip: deploy-dir zip deploy.zip -r deploy deploy: -- cgit v1.2.3-70-g09d2