mirror of
https://github.com/Luzifer/dns.git
synced 2024-12-22 19:01:20 +00:00
Improve check call
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
1244d63733
commit
08f66fbdd1
1 changed files with 6 additions and 2 deletions
8
Makefile
8
Makefile
|
@ -4,9 +4,13 @@ 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
|
||||
|
||||
auto-hook-pre-commit: .venv
|
||||
./.venv/bin/python3 checkZonefile.py
|
||||
.PHONY: check_zones auto-hook-pre-commit container
|
||||
|
|
Loading…
Reference in a new issue