Skip to content

Commit

Permalink
chore: add Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
shmileee committed Aug 25, 2021
1 parent ef643c1 commit 3bb4916
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 3bb4916

Please sign in to comment.