1
0
Fork 0
mirror of https://github.com/Luzifer/dns.git synced 2024-12-22 19:01:20 +00:00
dns/Makefile
Knut Ahlers 08f66fbdd1
Improve check call
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-02-06 23:00:17 +01:00

16 lines
339 B
Makefile

default: container
container:
docker build --no-cache --pull -t luzifer/dns .
docker push luzifer/dns
check_zones: .venv
./.venv/bin/python3 checkZonefile.py
auto-hook-pre-commit: check_zones
.venv:
virtualenv --python=python3 .venv
./.venv/bin/pip3 install -r requirements.txt
.PHONY: check_zones auto-hook-pre-commit container