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 8f85b37687
CI: Replace old build-system
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-01-30 15:52:11 +01:00

8 lines
226 B
Makefile

default: generate
generate:
docker run --rm -ti -v $(CURDIR):$(CURDIR) -w $(CURDIR)/src node:alpine \
sh -exc "npm ci && node ci/build.mjs && chown -R $(shell id -u) ../frontend node_modules"
publish:
bash ./ci/build.sh