chore(make): 增强 clean 目标清理 Go 缓存
添加 go clean -cache -testcache 清理构建缓存, 注释保留 go clean -modcache 供需要时启用。 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
08e6e8c003
commit
e9c24e5671
2
Makefile
2
Makefile
@ -269,6 +269,8 @@ clean:
|
|||||||
@echo "Cleaning build artifacts..."
|
@echo "Cleaning build artifacts..."
|
||||||
rm -rf $(BUILD_DIR)
|
rm -rf $(BUILD_DIR)
|
||||||
rm -f coverage.out coverage.html
|
rm -f coverage.out coverage.html
|
||||||
|
go clean -cache -testcache
|
||||||
|
# go clean -modcache
|
||||||
@echo "Clean complete."
|
@echo "Clean complete."
|
||||||
|
|
||||||
# ============================================
|
# ============================================
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user