1
0
Fork 0
mirror of https://github.com/Luzifer/password.git synced 2024-11-09 18:00:03 +00:00
password/Makefile

23 lines
572 B
Makefile
Raw Normal View History

2015-05-10 14:38:17 +00:00
default: pack
compile_js:
rm -f ./frontend/assets/*
docker run --rm -i \
-v "$(CURDIR):$(CURDIR)" \
-w "$(CURDIR)/js" \
-u $(shell id -u) \
node:10-alpine \
sh -c "yarn && npx webpack"
2015-05-10 14:38:17 +00:00
debug:
go-bindata --debug -o cmd/password/bindata.go --pkg=main frontend/...
go run *.go serve
2015-05-10 14:38:17 +00:00
pack: compile_js
go-bindata -modtime 1 -o cmd/password/bindata.go --pkg=main frontend/...
bash generateXKCDWordList.sh
publish:
curl -sSLo cmd/password/golang.sh https://raw.githubusercontent.com/Luzifer/github-publish/master/golang.sh
cd cmd/password && bash golang.sh