Files
scratch-gui/Makefile
T

28 lines
583 B
Makefile

ESLINT=./node_modules/.bin/eslint
NODE=node
WEBPACK=./node_modules/.bin/webpack --progress --colors
WEBPACK_DEV_SERVER=./node_modules/.bin/webpack-dev-server
# ------------------------------------------------------------------------------
build:
$(WEBPACK) --bail
watch:
$(WEBPACK) --watch
serve:
$(WEBPACK_DEV_SERVER) --port 8601 --config playground.config.js
# ------------------------------------------------------------------------------
lint:
$(ESLINT) .
test:
@make lint
@make build
$(WEBPACK) --bail --config playground.config.js
.PHONY: build watch serve lint