mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-23 22:53:43 +00:00
Organic Maps sources as of 02.04.2025 (fad26bbf22ac3da75e01e62aa01e5c8e11861005)
To expand with full Organic Maps and Maps.ME commits history run: git remote add om-historic [om-historic.git repo url] git fetch --tags om-historic git replace squashed-history historic-commits
This commit is contained in:
13
tools/unix/generate_proto.sh
Executable file
13
tools/unix/generate_proto.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/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"
|
||||
Reference in New Issue
Block a user