1
0
Fork 0
mirror of https://github.com/Luzifer/password.git synced 2024-11-09 09:50:07 +00:00
password/Makefile
Knut Ahlers 30cc6d98f8
Update build setup
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-06-27 21:43:23 +02:00

14 lines
321 B
Makefile

default:
compile_js:
rm -f ./frontend/assets/*
docker run --rm -i \
-v "$(CURDIR):$(CURDIR)" \
-w "$(CURDIR)/js" \
-u $(shell id -u) \
node:18-alpine \
sh -c "node build.mjs"
publish: compile_js
curl -sSLo golang.sh https://raw.githubusercontent.com/Luzifer/github-publish/master/golang.sh
bash golang.sh