Skip to content

Commit ca82cd6

Browse files
authored
Merge pull request #345 from sir-gon/develop
[CONFIG] [Makefile] test/styling and format action modified: "Analyze…
2 parents d6b8644 + 1d153b9 commit ca82cd6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ test/static: dependencies
8282

8383
test/styling: dependencies
8484
gofmt -l . && echo '✔ Your code looks good.'
85+
$(GO) run golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize@latest -test ./...
86+
87+
format:
88+
$(GO) run golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize@latest -apply ./...
8589

8690
coverage.out: env dependencies
8791
$(GOTEST) -v -covermode=atomic -coverprofile="coverage.out" ./exercises/...

0 commit comments

Comments
 (0)