Skip to content

Commit 76def31

Browse files
mapleafgoclaude
andcommitted
build: 添加 task tidy 命令用于更新依赖
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent d103444 commit 76def31

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Taskfile.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,12 @@ tasks:
146146
cmds:
147147
- go test -tags '{{.BUILDTAGS}}' ./translator/... ./core/...
148148

149+
tidy:
150+
desc: Update all direct dependencies to latest and tidy
151+
cmds:
152+
- GOPROXY=https://proxy.golang.org,direct go get -u ./...
153+
- go mod tidy
154+
149155
clean:
150156
desc: Remove build artifacts
151157
cmds:

0 commit comments

Comments
 (0)