commit 747b0ccf4086f761d6d5784d57074745026c83ed (patch)
parent d915151278708561b00444efe9cf737019dcccb5
Author: Alex Karle <alex@karle.co>
Date: Wed, 13 May 2020 21:37:07 -0400
make: Add derived webpacked JS to clean recipe
This also requires updating the PUBLIC_FILES to not be files-only, as
the dependency needs triggering on file removal (directory updated)
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
@@ -1,7 +1,7 @@
# Rebuilding the webpack for a server-only release is a painful
# few minutes on my poor old thinkpad. We can do better
-PUBLIC_FILES := $(shell find public -type f)
-LIB_FILES := $(shell find lib -type f)
+PUBLIC_FILES := $(shell find public)
+LIB_FILES := $(shell find lib)
.PHONY: all
all: test tags
@@ -36,4 +36,4 @@ release: build test
.PHONY: clean
clean:
- rm -rf build
+ rm -rf build public/asset