sheetjs/demos/electron/Makefile
2022-06-27 02:02:21 -04:00

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