add makefile

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
Jess Frazelle 2018-02-18 12:39:38 -05:00
parent 6413afdcc9
commit dcee0ac7c4
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3

15
Makefile Normal file
View File

@ -0,0 +1,15 @@
.PHONY: build
build: ## Builds all the dockerfiles in the repository.
./build-all.sh
.PHONY: latest-versions
latest-versions: ## Checks all the latest versions of the Dockerfile contents.
./latest-versions.sh
.PHONY: test
test: ## Runs the tests on the repository.
./test.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}'