sheetjs/demos/electron/Makefile

16 lines
223 B
Makefile

.PHONY: init
init:
mkdir -p node_modules
cd node_modules; if [ ! -e xlsx ]; then ln -s ../../../ xlsx ; fi; cd -
.PHONY: lint
lint:
eslint *.js
.PHONY: run
run:
npm i
npx electron .
.PHONY: build
build:
npm run make