mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 15:24:01 +03:00
Use gofumpt from github
This commit is contained in:
+1
-1
@@ -1,6 +1,7 @@
|
||||
[tools]
|
||||
go = "latest"
|
||||
"go:golang.org/x/tools/gopls" = "latest"
|
||||
"go:mvdan.cc/gofumpt" = "latest"
|
||||
|
||||
[vars]
|
||||
fuzzflags = "-fuzztime=120s"
|
||||
@@ -96,6 +97,5 @@ run = "pkgsite -http 0.0.0.0:10000"
|
||||
|
||||
[tasks.fmt]
|
||||
description = "Reformat source code"
|
||||
tools.gofumpt = "latest"
|
||||
sources = ["**/*.go"]
|
||||
run = "gofumpt -w --extra ."
|
||||
|
||||
Reference in New Issue
Block a user