You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by lu...@apache.org on 2022/02/07 01:35:58 UTC
[skywalking-banyandb] branch remove-path-usage created (now 297baec)
This is an automated email from the ASF dual-hosted git repository.
lujiajing pushed a change to branch remove-path-usage
in repository https://gitbox.apache.org/repos/asf/skywalking-banyandb.git.
at 297baec remove PATH modification in Makefile(s)
This branch includes the following new commits:
new 297baec remove PATH modification in Makefile(s)
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[skywalking-banyandb] 01/01: remove PATH modification in Makefile(s)
Posted by lu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
lujiajing pushed a commit to branch remove-path-usage
in repository https://gitbox.apache.org/repos/asf/skywalking-banyandb.git
commit 297baec1ec01251f22eaef3ab242e168539a3680
Author: Megrez Lu <lu...@gmail.com>
AuthorDate: Mon Feb 7 09:35:28 2022 +0800
remove PATH modification in Makefile(s)
---
api/Makefile | 8 ++++----
scripts/build/generate_go.mk | 4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/api/Makefile b/api/Makefile
index b328dae..ffe3cf2 100644
--- a/api/Makefile
+++ b/api/Makefile
@@ -18,13 +18,13 @@
NAME := api
-proto_dir := $(root_dir)/api/proto
-
include ../scripts/build/base.mk
include ../scripts/build/help.mk
+proto_dir := $(root_dir)/api/proto
+
generate: $(BUF)
- @PATH=$(PATH):$(tool_bin):$(proto_dir) $(BUF) generate
+ @PATH=$(tool_bin):$(proto_dir) $(BUF) generate
lint: $(PROTOC)
- @PATH=$(PATH):$(tool_bin):$(proto_dir) $(BUF) lint
+ @PATH=$(tool_bin):$(proto_dir) $(BUF) lint
diff --git a/scripts/build/generate_go.mk b/scripts/build/generate_go.mk
index 5521916..f69a119 100644
--- a/scripts/build/generate_go.mk
+++ b/scripts/build/generate_go.mk
@@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.
#
-
+
.PHONY: generate
generate: $(MOCKGEN) $(PROTOC)
- @PATH=$(PATH):$(tool_bin) go generate ./...
+ @go generate ./...