1
0
Fork 0
mirror of https://github.com/Luzifer/share.git synced 2024-12-20 10:31:16 +00:00
share/Makefile
Knut Ahlers c5cf511901
Broaden compatibility by using babel on JavaScript
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-07-26 23:05:46 +02:00

15 lines
363 B
Makefile

default:
lint:
docker run --rm -ti -v $(CURDIR):$(CURDIR) -w $(CURDIR) luzifer/eslint src/*.js
pack:
cd src && npm install && npm run build
go-bindata -modtime 1 frontend/...
auto-hook-pre-commit: pack
git diff --exit-code bindata.go
publish:
curl -sSLo golang.sh https://raw.githubusercontent.com/Luzifer/github-publish/master/golang.sh
bash golang.sh