We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb5f859 commit 6f6b849Copy full SHA for 6f6b849
Makefile
@@ -231,10 +231,13 @@ clean:
231
232
.PHONY: fmt
233
fmt:
234
- @hash xgogofumpt > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
+ @echo "Running gitea-fmt(with gofmt)..."
235
+ @$(GO) run build/code-batch-process.go gitea-fmt -s -w '{file-list}'
236
+ @echo "Running gofumpt"
237
+ @hash gofumpt > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
238
$(GO) install mvdan.cc/gofumpt@latest; \
239
fi
- gofumpt -w -l -extra -lang 1.16 .
240
+ @gofumpt -w -l -extra -lang 1.16 .
241
242
.PHONY: vet
243
vet:
modules/queue/queue_channel_test.go
@@ -10,6 +10,7 @@ import (
10
"time"
11
12
"code.gitea.io/gitea/modules/log"
13
+
14
"github.com/stretchr/testify/assert"
15
)
16
0 commit comments