Skip to content

Commit 7114514

Browse files
committed
Add several routine commands
Signed-off-by: Alexander Kurbatov <sir.alkurbatov@yandex.ru>
1 parent 8d4a71c commit 7114514

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Makefile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
MAKEFLAGS = --warn-undefined-variables
2+
MAKEFLAGS += --no-builtin-rules
3+
4+
.DEFAULT_GOAL := help
5+
.PHONY: all $(MAKECMDGOALS)
6+
7+
help: ## Display this help screen
8+
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {printf "\033[36m%-38s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)
9+
10+
lint: ## Lint the source code
11+
golangci-lint run

0 commit comments

Comments
 (0)