You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ja...@apache.org on 2023/05/24 08:28:02 UTC

[iotdb-client-go] 01/01: Chaneg relative file path in Makefile

This is an automated email from the ASF dual-hosted git repository.

jackietien pushed a commit to branch ModuleChange
in repository https://gitbox.apache.org/repos/asf/iotdb-client-go.git

commit 40406106b9382f346f775a6403b9450b8c79bbdc
Author: JackieTien97 <ja...@gmail.com>
AuthorDate: Wed May 24 16:27:48 2023 +0800

    Chaneg relative file path in Makefile
---
 Makefile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile
index 727bb10..a46bf79 100644
--- a/Makefile
+++ b/Makefile
@@ -33,10 +33,10 @@ generate:
 		exit 1; \
 	fi
 
-	@if [ -f "../thrift/src/main/thrift/rpc.thrift" ]; then \
-		thrift -out . -gen go ../thrift/src/main/thrift/rpc.thrift; \
+	@if [ -f "../../iotdb-protocol/thrift/src/main/thrift/rpc.thrift" ]; then \
+		thrift -out . -gen go ../../iotdb-protocol/thrift/src/main/thrift/rpc.thrift; \
 	else \
-		curl -o rpc.thrift https://raw.githubusercontent.com/apache/iotdb/master/thrift/src/main/thrift/rpc.thrift; \
+		curl -o rpc.thrift https://raw.githubusercontent.com/apache/iotdb/master/iotdb-protocol/thrift/src/main/thrift/rpc.thrift; \
 		thrift -out . -gen go rpc.thrift; \
 		rm -f rpc.thrift; \
 	fi
@@ -61,7 +61,7 @@ e2e_test_clean:
 #only used for project structure that the iotdb main project is in the parent folder of this project.
 e2e_test_for_parent_git_repo:
 	mkdir -p target/iotdb
-	unzip -o -q ../distribution/target/apache-iotdb-*-all-bin.zip -d target
+	unzip -o -q ../../distribution/target/apache-iotdb-*-all-bin.zip -d target
 	mv target/*/* target/iotdb
 	docker-compose -f test/e2e/docker-compose.yml up --build --abort-on-container-exit --remove-orphans