You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@skywalking.apache.org by ke...@apache.org on 2020/12/21 07:57:45 UTC
[skywalking-eyes] 11/25: bugfix: cannot build
This is an automated email from the ASF dual-hosted git repository.
kezhenxu94 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-eyes.git
commit b3bff6986290aa9d7c9c15a6479373f8fdf871d7
Author: kezhenxu94 <ke...@163.com>
AuthorDate: Tue Dec 1 21:25:05 2020 +0800
bugfix: cannot build
---
Makefile | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/Makefile b/Makefile
index 04af575..8e2e68e 100644
--- a/Makefile
+++ b/Makefile
@@ -20,18 +20,13 @@ FILES := $$(find .$$($(PACKAGE_DIRECTORIES)) -name "*.go")
FAIL_ON_STDOUT := awk '{ print } END { if (NR > 0) { exit 1 } }'
GO := GO111MODULE=on go
-GO_PATH = $$($(GO) env GOPATH)
+GO_PATH = $(shell $(GO) env GOPATH)
GO_BUILD = $(GO) build
GO_GET = $(GO) get
GO_TEST = $(GO) test
GO_LINT = $(GO_PATH)/bin/golangci-lint
GO_LICENSER = $(GO_PATH)/bin/go-licenser
-# Ensure GOPATH is set before running build process.
-ifeq "$(GOPATH)" ""
- $(error Please set the environment variable GOPATH before running `make`)
-endif
-
all: clean deps lint test build
tools: