17 lines
267 B
Makefile
17 lines
267 B
Makefile
|
BIN ?= ./node_modules/.bin/
|
||
|
ESLINT ?= ./node_modules/.bin/eslint
|
||
|
|
||
|
node_modules: package.json package-lock.json
|
||
|
npm i
|
||
|
|
||
|
build: node_modules
|
||
|
$(BIN)/electron-rebuild
|
||
|
|
||
|
serve: build
|
||
|
npm start
|
||
|
|
||
|
.PHONY: eslint
|
||
|
eslint: node_modules
|
||
|
$(ESLINT) *.js
|
||
|
$(ESLINT) app/**/*.js
|