1
0
Fork 0
mirror of https://github.com/Luzifer/share.git synced 2024-12-20 18:41:17 +00:00
share/Makefile

16 lines
363 B
Makefile
Raw Normal View History

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