3 Star 0 Fork 15

src-openEuler/tidb

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Set-GOFLAG-to-go-mod-vendor.patch 815 Bytes
一键复制 编辑 原始数据 按行查看 历史
huanghaitao 提交于 2021-08-20 09:42 +08:00 . Package init
From 5abee7da185f4887d1596e216acce03929a42d1a Mon Sep 17 00:00:00 2001
From: hht8 <huanghaitao12138@163.com>
Date: Fri, 20 Aug 2021 15:11:08 +0800
Subject: [PATCH] 2
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index fc29d92..c36dc47 100644
--- a/Makefile
+++ b/Makefile
@@ -26,7 +26,7 @@ path_to_add := $(addsuffix /bin,$(subst :,/bin:,$(GOPATH))):$(PWD)/tools/bin
export PATH := $(path_to_add):$(PATH)
GO := GO111MODULE=on go
-GOBUILD := $(GO) build $(BUILD_FLAG) -tags codes
+GOBUILD := $(GO) build $(BUILD_FLAG) --mod=vendor -tags codes
GOBUILDCOVERAGE := GOPATH=$(GOPATH) cd tidb-server; $(GO) test -coverpkg="../..." -c .
GOTEST := $(GO) test -p $(P)
OVERALLS := GO111MODULE=on overalls
--
2.30.0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/tidb.git
git@gitee.com:src-openeuler/tidb.git
src-openeuler
tidb
tidb
master

搜索帮助