#!/bin/bash

HERE=$(dirname $0)
SRC_DIR=$HERE/traffic-service-protobuf
DST_DIR=$HERE/src/traffic/messages

mkdir -p $DST_DIR

for proto in ${SRC_DIR}/*.proto ; do
    protoc -I=$SRC_DIR --python_out=$DST_DIR ${proto}
done

#!/bin/bash

HERE=$(dirname $0)
SRC_DIR=$HERE/traffic-service-protobuf
DST_DIR=$HERE/src/traffic/messages

mkdir -p $DST_DIR
touch $DST_DIR/__init__.py

for proto in ${SRC_DIR}/*.proto ; do
    protoc -I=$SRC_DIR --python_out=$DST_DIR ${proto}
done

Make messages a python package
Make messages a python package

Signed-off-by: Jan Losinski <577c4104c61edf9f052c616c0c23e67bef4a9955@wh2.tu-dresden.de>
