1
0
mirror of https://github.com/Luzifer/gmail-manage.git synced 2024-09-19 16:42:57 +00:00
gmail-manage/Makefile
Knut Ahlers 3e32c76865
Document build in a makefile
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-10-22 14:38:54 +02:00

9 lines
211 B
Makefile

default:
build:
docker run --rm -i \
-v "$(CURDIR):$(CURDIR)" \
-w "$(CURDIR)" \
node:10-alpine \
sh -exc "npm ci && npm run build && rm -rf node_modules && chown $(shell id -u):$(shell id -g) app.js"