mondash-checkgpg/Makefile
Knut Ahlers c691273ac9
Add auto-publishing
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2020-10-17 22:30:41 +02:00

10 lines
346 B
Makefile

default: generate
generate:
docker run --rm -ti -v $(CURDIR):$(CURDIR) -w $(CURDIR)/src node:12-alpine \
sh -exc "npx npm@lts ci && npx npm@lts run build && chown -R $(shell id -u) ../frontend node_modules"
go generate
publish:
curl -sSLo golang.sh https://raw.githubusercontent.com/Luzifer/github-publish/master/golang.sh
bash golang.sh