From ba99e32b2d857e1874676005c83c4f6cfc2064dc Mon Sep 17 00:00:00 2001 From: Loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com> Date: Wed, 7 Oct 2020 18:35:21 +0800 Subject: [PATCH] Bazel: discard GOPATH (#278) --- infra/control/main/targets.bzl | 2 +- main/targets.bzl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/infra/control/main/targets.bzl b/infra/control/main/targets.bzl index ac19ae5d..b52dae66 100644 --- a/infra/control/main/targets.bzl +++ b/infra/control/main/targets.bzl @@ -1,7 +1,7 @@ load("//infra/bazel:build.bzl", "foreign_go_binary") def gen_targets(matrix): - pkg = "v2ray.com/core/infra/control/main" + pkg = "./infra/control/main" output = "v2ctl" for (os, arch, ver) in matrix: diff --git a/main/targets.bzl b/main/targets.bzl index b60d96d7..dcf2bee2 100644 --- a/main/targets.bzl +++ b/main/targets.bzl @@ -1,7 +1,7 @@ load("//infra/bazel:build.bzl", "foreign_go_binary") def gen_targets(matrix): - pkg = "v2ray.com/core/main" + pkg = "./main" output = "v2ray" for (os, arch, ver) in matrix: