From 82c3acf3b15e4290d2426d59283ce0d09c0c28c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20L=2E=20Hansen?= Date: Thu, 31 Mar 2022 10:39:29 -0700 Subject: [PATCH] Add rule to build gotty.js.map --- Makefile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 817956e..1776901 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,16 @@ docker: docker build . -t gotty-bash:$(VERSION) .PHONY: all docker assets -assets: bindata/static/js/gotty.js.map bindata/static/js/gotty.js bindata/static/index.html bindata/static/icon.svg bindata/static/favicon.ico bindata/static/css/index.css bindata/static/css/xterm.css bindata/static/css/xterm_customize.css bindata/static/manifest.json bindata/static/icon_192.png +assets: bindata/static/js/gotty.js.map \ + bindata/static/js/gotty.js \ + bindata/static/index.html \ + bindata/static/icon.svg \ + bindata/static/favicon.ico \ + bindata/static/css/index.css \ + bindata/static/css/xterm.css \ + bindata/static/css/xterm_customize.css \ + bindata/static/manifest.json \ + bindata/static/icon_192.png all: gotty @@ -31,7 +40,7 @@ js/node_modules/xterm/dist/xterm.css: cd js && \ npm install -bindata/static/js/gotty.js: js/src/* | js/node_modules/webpack +bindata/static/js/gotty.js.map bindata/static/js/gotty.js: js/src/* | js/node_modules/webpack cd js && \ npx webpack --mode=$(WEBPACK_MODE)