summaryrefslogtreecommitdiff
path: root/scripts/codegen/run_trunnel.sh
blob: df84a6e2a7f4ea91d8467b31401b9c73d3d4e97c (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

if test "x$TRUNNEL_PATH" != "x"; then
  PYTHONPATH="${TRUNNEL_PATH}:${PYTHONPATH}"
  export PYTHONPATH
fi

python -m trunnel ./src/trunnel/*.trunnel

python -m trunnel --write-c-files --target-dir=./src/ext/trunnel/