smbmc-exporter/Makefile

20 lines
586 B
Makefile
Raw Permalink Normal View History

2020-11-10 02:53:27 +00:00
.DEFAULT: help
.PHONY: help clean clean-pyc clean-build dist
2021-04-01 02:24:14 +00:00
help: ## Display this help section
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z0-9_-]+:.*?## / {printf "\033[36m%-38s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)
2020-11-10 02:53:27 +00:00
2021-04-01 02:24:14 +00:00
clean: clean-pyc clean-build ## Delete all artifacts
2020-11-10 02:53:27 +00:00
2021-04-01 02:24:14 +00:00
clean-pyc: ## Delete Python cache artifacts
2020-11-10 02:53:27 +00:00
@find . -name '*.pyc' -delete
@find . -name '*.pyo' -delete
@find . -name __pycache__ -delete
2021-04-01 02:24:14 +00:00
clean-build: ## Delete distribution artifacts
2020-11-10 02:53:27 +00:00
@rm --force --recursive build dist src/*.egg-info docs/_build
2021-04-01 02:24:14 +00:00
dist: clean ## Generate distribution artifacts
2020-11-10 02:53:27 +00:00
poetry build