Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

UNAME_S := $(shell uname -s)
UNAME_P := $(shell uname -p)
THRIFT_TOOL_VERSION := 0.23.0.0

ifeq ($(UNAME_S),Linux)
ifeq ($(UNAME_P),x86_64)
Expand Down Expand Up @@ -57,10 +58,10 @@ generate:
cp -r ../../iotdb-protocol/thrift-commons/target/generated-sources-go/common common; \
cp -r ../../iotdb-protocol/thrift-datanode/target/generated-sources-go/rpc rpc; \
else \
echo "Downloading and unpacking iotdb-tools-thrift-0.14.1.0-$(OS_CLASSIFIER).zip"; \
echo "Downloading and unpacking iotdb-tools-thrift-$(THRIFT_TOOL_VERSION)-$(OS_CLASSIFIER).zip"; \
rm -rf thrift; \
mkdir -p thrift; \
curl -L -o thrift/iotdb-tools-thrift.zip https://repo1.maven.org/maven2/org/apache/iotdb/tools/iotdb-tools-thrift/0.14.1.0/iotdb-tools-thrift-0.14.1.0-$(OS_CLASSIFIER).zip; \
curl -L -o thrift/iotdb-tools-thrift.zip https://repo1.maven.org/maven2/org/apache/iotdb/tools/iotdb-tools-thrift/$(THRIFT_TOOL_VERSION)/iotdb-tools-thrift-$(THRIFT_TOOL_VERSION)-$(OS_CLASSIFIER).zip; \
unzip -o thrift/iotdb-tools-thrift.zip -d thrift; \
curl -o common.thrift https://raw.githubusercontent.com/apache/iotdb/master/iotdb-protocol/thrift-commons/src/main/thrift/common.thrift; \
$(THRIFT_EXEC) -out . -gen go:package_prefix=github.com/apache/iotdb-client-go/v2/ common.thrift; \
Expand Down
2 changes: 1 addition & 1 deletion common/GoUnusedProtection__.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 17 additions & 6 deletions common/common-consts.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading