hyperspace-rpc/makefile
Luke Murphy 5f1f88106c
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing
Fix import paths
2020-08-10 14:44:59 +02:00

8 lines
256 B
Makefile

default: rewrite
rewrite:
@sed -i 's/import hrpc_pb2 as hrpc__pb2/from . import hrpc_pb2 as hrpc__pb2/g' hyperspace_rpc/*.py && \
sed -i 's/import schema_pb2 as schema__pb2/from . import schema_pb2 as schema__pb2/g' hyperspace_rpc/*.py
.PHONY: rewrite