Skip to content

Commit

Permalink
fix: self document make (#1407)
Browse files Browse the repository at this point in the history
  • Loading branch information
wtrocki committed Aug 23, 2023
1 parent 0bf4b43 commit b7a2763
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ export SHELL := env PATH=$(PATH) /bin/bash

default: build

.PHONY: help
help:
@grep -h -E '^[a-zA-Z_-]+:.*?$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'

.PHONY: build
build: fmt fmtcheck
go build -ldflags "$(LINKER_FLAGS)" -o $(DESTINATION)
Expand Down

0 comments on commit b7a2763

Please sign in to comment.