1
0
Fork 0
mirror of https://github.com/Luzifer/share.git synced 2024-12-29 23:11:18 +00:00
share/Makefile
Knut Ahlers 0851d0c17e
Do not install node_modules on every build
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-07-26 23:13:29 +02:00

20 lines
425 B
Makefile

default:
lint:
docker run --rm -ti -v $(CURDIR):$(CURDIR) -w $(CURDIR) luzifer/eslint src/*.js
pack: webpack
go-bindata -modtime 1 frontend/...
webpack: src/node_modules
cd src && npm run build
src/node_modules:
cd src && npm install
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