blob: 5eb6ebb26675fba7b667a3c455b9d9cbfe4431a8 [file] [log] [blame]
#!/bin/bash
set -euo pipefail
set -x
target_root="$(pwd)/public"
cd "$(mktemp -d)"
git clone https://github.com/openzipkin/zipkin-api.git
cd zipkin-api/thrift
rm -fv wrapper.thrift
for source in *.thrift; do
echo "include \"$source\"" >> wrapper.thrift
done
thrift --gen html wrapper.thrift
mv gen-html "$target_root/thrift"