File: compile_test_services.sh

package info (click to toggle)
sentry-python 2.18.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,004 kB
  • sloc: python: 55,908; makefile: 114; sh: 111; xml: 2
file content (15 lines) | stat: -rwxr-xr-x 403 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env bash

# Run this script from the project root to generate the python code

TARGET_PATH=./tests/integrations/grpc

# Create python file
python -m grpc_tools.protoc \
    --proto_path=$TARGET_PATH/protos/ \
    --python_out=$TARGET_PATH/ \
    --pyi_out=$TARGET_PATH/ \
    --grpc_python_out=$TARGET_PATH/ \
    $TARGET_PATH/protos/grpc_test_service.proto

echo Code generation successfull