You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.0 KiB
41 lines
1.0 KiB
.PHONY: help test |
|
|
|
help: ## This help. |
|
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST) |
|
|
|
.DEFAULT_GOAL := help |
|
|
|
build: ## build collection localy |
|
ansible-galaxy collection build -f |
|
|
|
install: ## install collection localy |
|
ansible-galaxy collection install markuman* |
|
|
|
remove: ## remove collection localy |
|
rm -rf markuman* ~/.ansible/collections/ansible_collections/markuman/nextcloud |
|
|
|
sanity: ## sanity checks |
|
ansible-test sanity --python 3.8 --docker default |
|
|
|
syntax: ## test compile |
|
python -m py_compile plugins/lookup/*.py |
|
python -m py_compile plugins/module_utils/nextcloud.py |
|
python -m py_compile plugins/modules/*.py |
|
python -m py_compile plugins/callback/*.py |
|
|
|
fullround: ## everything |
|
$(MAKE) syntax |
|
$(MAKE) remove |
|
$(MAKE) build |
|
$(MAKE) install |
|
$(MAKE) sanity |
|
$(MAKE) test |
|
|
|
round: ## short round |
|
$(MAKE) syntax |
|
$(MAKE) remove |
|
$(MAKE) build |
|
$(MAKE) install |
|
|
|
test: ## run integration tests |
|
$(MAKE) integration -C tests/integration/targets
|