From 3bb4916aa1cd26e7b84eefb26c189e18dd6a377e Mon Sep 17 00:00:00 2001 From: shmileee Date: Wed, 25 Aug 2021 17:15:58 +0200 Subject: [PATCH] chore: add Makefile --- Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..9eeb182 --- /dev/null +++ b/Makefile @@ -0,0 +1,15 @@ +VERSION = 0.0.1 + +.PHONY: help +help: ## Print the help documentation + @grep -E '^[/a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' + +bin/github-to-terraform: ## Build github-to-terraform + go build -ldflags "$(LDFLAGS) -X main.version=${VERSION}" -o bin/github-to-terraform . + +.PHONY: clean +clean: ## Clean all generated files + rm -rf ./bin + rm -rf ./dist + +default: help