Skip to content

Commit

Permalink
Makefile: set thor as default and help as fallback for none matched t…
Browse files Browse the repository at this point in the history
…arget (#673)
  • Loading branch information
libotony authored Feb 27, 2024
1 parent c366618 commit d1dcdea
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ MAJOR = $(shell go version | cut -d' ' -f3 | cut -b 3- | cut -d. -f1)
MINOR = $(shell go version | cut -d' ' -f3 | cut -b 3- | cut -d. -f2)
export GO111MODULE=on

.DEFAULT_GOAL := thor
.PHONY: thor disco all clean test

help:
Expand Down Expand Up @@ -59,3 +60,6 @@ lint_command_check:

lint: | go_version_check lint_command_check #@ Run 'golangci-lint'
@golangci-lint run --config .golangci.yml

.DEFAULT:
@$(MAKE) help

0 comments on commit d1dcdea

Please sign in to comment.