test.sh 366 B

1234567891011121314151617
  1. #!/bin/sh
  2. set -eu
  3. ENTRYPOINTS="d2m d2d call-signaling"
  4. for e in $ENTRYPOINTS; do
  5. DIR="out/$e/"
  6. ( mkdir -p "$DIR" && cd "$DIR" && mkdir -p cpp java py js )
  7. echo "Building $e.proto..."
  8. protoc \
  9. --cpp_out="$DIR/cpp" \
  10. --java_out="$DIR/java" \
  11. --python_out="$DIR/py" \
  12. --js_out="$DIR/js" \
  13. "$e.proto"
  14. echo " OK"
  15. done