1
0
mirror of https://github.com/Luzifer/dns.git synced 2024-09-19 23:32:56 +00:00
dns/Makefile

17 lines
339 B
Makefile
Raw Normal View History

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