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

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


The following commit(s) were added to refs/heads/main by this push:
     new dc64b1a  Chaneg relative file path in Makefile (#86)
dc64b1a is described below

commit dc64b1a7648d3c505c10eed5419f422bb49f1def
Author: Jackie Tien <[email protected]>
AuthorDate: Wed May 24 16:35:30 2023 +0800

    Chaneg relative file path in Makefile (#86)
---
 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
 

Reply via email to