aboutsummaryrefslogtreecommitdiff
path: root/static/Makefile
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2021-11-10 09:52:56 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2021-11-10 10:06:56 +0100
commit6f4b9a70164f1be205b64e8824a83ebee717d6c7 (patch)
treeeae74ad212bd7a0f1c9672555478548aa130e98f /static/Makefile
parentSlight frontend makefile improvements. (diff)
downloadcalp-6f4b9a70164f1be205b64e8824a83ebee717d6c7.tar.gz
calp-6f4b9a70164f1be205b64e8824a83ebee717d6c7.tar.xz
Add madge for frontend dep visualization.
Diffstat (limited to 'static/Makefile')
-rw-r--r--static/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/static/Makefile b/static/Makefile
index d55688ba..b85422a3 100644
--- a/static/Makefile
+++ b/static/Makefile
@@ -17,6 +17,9 @@ all: $(TARGETS)
script.out.js: $(TS_FILES)
browserify $< -p tsify --noImplicitAny --debug -o $@
+deps.svg: $(TS_FILES)
+ madge --image $@ $^
+
# Note that 'tsc --watch' doesn't provide the files we are using. It's
# just here for debug.
watch: