ansible-collection-hetzner-.../Makefile
Jonas L 79d52d3621
chore: add venv dependency to lint-docs target (#350)
##### SUMMARY

Missing venv when running lint-docs from a clean repo.
2023-10-09 13:42:59 +02:00

26 lines
445 B
Makefile

SHELL := bash
.PHONY: vendor clean
vendor:
python3 scripts/vendor.py
vendor-check:
python3 scripts/vendor.py --check
venv:
python3 -m venv venv
venv/bin/pip install -r requirements.txt
lint: venv
venv/bin/pylint plugins
lint-docs: venv
venv/bin/antsibull-docs lint-collection-docs \
--plugin-docs \
--validate-collection-refs self \
--skip-rstcheck \
.
clean:
git clean -xdf \
-e tests/integration/cloud-config-hcloud.ini