Skip to content

Commit dda383c

Browse files
author
Alex Boten
committed
Regenerating thrift code with version 0.11.0
Files were last generated with version 0.9.2, but the code installs thrift version 0.11. Adding back a make thrift target. Signed-off-by: Alex Boten <aboten@lightstep.com>
1 parent df79518 commit dda383c

File tree

4 files changed

+1761
-1849
lines changed

4 files changed

+1761
-1849
lines changed

Makefile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,16 @@ proto:
7272
protoc --proto_path "$(PWD)/../googleapis:$(PWD)/../lightstep-tracer-common/" \
7373
--python_out="$(PWD)/lightstep" \
7474
collector.proto
75+
76+
thrift:
77+
docker run -v "$(PWD)/lightstep:/out" -v "$(MONO_REPO)/go/src/github.com/lightstep/common-go:/data" --rm thrift:0.11.0 \
78+
thrift -r --gen py -out /out /data/crouton.thrift
79+
python-modernize -w $(PWD)/lightstep/crouton/
80+
rm -rf lightstep/crouton/ReportingService-remote
81+
82+
clean:
83+
find . -name '__pycache__' -exec rm -R {} +
84+
find . -name '*.pyc' -exec rm {} +
85+
rm -Rf ./*.egg-info
86+
rm -Rf ./dist/
87+
rm -Rf ./build/

0 commit comments

Comments
 (0)