1
0
Fork 0
mirror of https://github.com/Luzifer/wiki.git synced 2024-12-20 10:31:18 +00:00
wiki/Makefile
Knut Ahlers e1039e5ae2
Update dependencies, modernize code
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-01-29 23:56:17 +01:00

9 lines
333 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"
publish:
curl -sSLo golang.sh https://raw.githubusercontent.com/Luzifer/github-publish/master/golang.sh
bash golang.sh