mirror of
https://github.com/jimeh/ansible-adguardhome.git
synced 2026-02-19 07:06:38 +00:00
25 lines
583 B
Makefile
25 lines
583 B
Makefile
test: bootstrap
|
|
molecule test --all
|
|
|
|
test-%: bootstrap
|
|
molecule test -s "$*"
|
|
|
|
lint: bootstrap
|
|
molecule lint
|
|
|
|
bootstrap:
|
|
$(eval PIP := $(shell which pip))
|
|
$(if $(PIP),,$(eval PIP := $(shell which pip3)))
|
|
$(if $(PIP),,$(error No pip or pip3 found in PATH))
|
|
|
|
$(PIP) install -r requirements.txt
|
|
|
|
new-version:
|
|
$(if $(shell which npx),,\
|
|
$(error No npx not found in PATH, please install NodeJS))
|
|
$(if $(shell which standardx-version),,\
|
|
$(error No standard-version not found in PATH, install with: \
|
|
npm install -g standard-version))
|
|
|
|
npx standard-version --tag-prefix=''
|