commit 79a2aeecacc8536bb8d0c5831f10f2f0827aebda
parent a7df5a25d9007831ec6bec7609c1558ff869af47
Author: massi <git@massi.world>
Date: Fri, 30 Aug 2024 04:48:16 -0700
makefile: ensure build/common happens before js
js makes build/common/assets/js which contains build/common, the
target we want to build.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -19,7 +19,7 @@ touch_dir = touch $(1)/.howdy && rm $(1)/.howdy
all: $(JS) $(SITE) $(SB)
-$(JS): $(wildcard ts/*.ts)
+$(JS): $(wildcard ts/*.ts) | build/common
./node_modules/esbuild/bin/esbuild \
--splitting \
--bundle \