Repo created

This commit is contained in:
Fr4nz D13trich 2025-11-22 13:58:55 +01:00
parent 4af19165ec
commit 68073add76
12458 changed files with 12350765 additions and 2 deletions

13
tools/unix/generate_proto.sh Executable file
View file

@ -0,0 +1,13 @@
#!/usr/bin/env bash
set -e -u -x
OMIM_PATH="${OMIM_PATH:-$(dirname "$0")/../..}"
rm "$OMIM_PATH/indexer"/drules_struct.pb.* || true
rm "$OMIM_PATH/tools/python/stylesheet"/drules_struct_pb2.* || true
rm "$OMIM_PATH/tools/kothic/src"/drules_struct_pb2.* || true
PROTO="$OMIM_PATH/indexer/drules_struct.proto"
protoc --proto_path="$OMIM_PATH/indexer" --cpp_out="$OMIM_PATH/indexer" "$PROTO"
protoc --proto_path="$OMIM_PATH/indexer" --python_out="$OMIM_PATH/tools/python/stylesheet" "$PROTO"
protoc --proto_path="$OMIM_PATH/indexer" --python_out="$OMIM_PATH/tools/kothic/src" "$PROTO"