From 747b0ccf4086f761d6d5784d57074745026c83ed Mon Sep 17 00:00:00 2001 From: Alex Karle Date: Wed, 13 May 2020 21:37:07 -0400 Subject: [PATCH] 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) --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index f1c3fa2..34e6a80 100644 --- 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 -- libgit2 1.1.1