mirror of
https://github.com/sorenisanerd/gotty.git
synced 2024-11-09 23:34:26 +00:00
Add rule to build gotty.js.map
This commit is contained in:
parent
782991c356
commit
82c3acf3b1
13
Makefile
13
Makefile
@ -11,7 +11,16 @@ docker:
|
|||||||
docker build . -t gotty-bash:$(VERSION)
|
docker build . -t gotty-bash:$(VERSION)
|
||||||
|
|
||||||
.PHONY: all docker assets
|
.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
|
all: gotty
|
||||||
|
|
||||||
@ -31,7 +40,7 @@ js/node_modules/xterm/dist/xterm.css:
|
|||||||
cd js && \
|
cd js && \
|
||||||
npm install
|
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 && \
|
cd js && \
|
||||||
npx webpack --mode=$(WEBPACK_MODE)
|
npx webpack --mode=$(WEBPACK_MODE)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user