mirror of
https://github.com/Luzifer/share.git
synced 2024-12-20 10:31:16 +00:00
15 lines
363 B
Makefile
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
|