Files
dockerfiles/Makefile
Uwe Hermann 60908559b6
Some checks failed
checks / check and test (push) Failing after 2s
checks / check and test (pull_request) Failing after 2s
* MOD: test actions
Signed-off-by: Uwe Hermann <uh@uleenucks.de>
2024-01-20 12:15:14 +01:00

18 lines
552 B
Makefile

.PHONY: build
build: ## Builds all the dockerfiles in the repository.
@$(CURDIR)/build-all.sh
.PHONY: test
test: shellcheck ## Runs the tests on the repository.
.PHONY: shellcheck
shellcheck: ## Runs the shellcheck tests on the scripts.
docker run --rm -i $(DOCKER_FLAGS) \
--name df-shellcheck \
-v $(CURDIR):/usr/src:ro \
--workdir /usr/src \
uleenucks/shellcheck ./shellcheck.sh
.PHONY: help
help:
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'