euchre-live

Euchre web-app for the socially distant family
git clone git://git.alexkarle.com/euchre-live.git
Log | Files | Refs | README | LICENSE

commit 19cb631df5c2e0ab8a121bb37296a79b657560a7 (patch)
parent 19c3372f7b4b74e3397e059144807256ff433e0f
Author: Alex Karle <alex@karle.co>
Date:   Thu, 14 May 2020 20:22:54 -0400

make: Fix build target dependencies

Build needs to depend on not only the contents of public/ but on the
source JS files under assets/

Diffstat:
MMakefile | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -1,5 +1,6 @@ # Rebuilding the webpack for a server-only release is a painful # few minutes on my poor old thinkpad. We can do better +JS_FILES := $(shell find assets) PUBLIC_FILES := $(shell find public) LIB_FILES := $(shell find lib) @@ -18,7 +19,7 @@ test: # If no public files have changed, don't rebuild the webpack! # We make this timestamp file the dependency for build to # ensure we don't do it too often... -.public.ts: $(PUBLIC_FILES) +.public.ts: $(JS_FILES) $(PUBLIC_FILES) env MOJO_WEBPACK_VERBOSE=1 MOJO_WEBPACK_BUILD=1 ./gloat.pl routes touch .public.ts