Skip to content

Commit

Permalink
fix: Add message types for tools
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr0p42 committed Jan 8, 2025
1 parent 1c714fd commit c8e8b9a
Show file tree
Hide file tree
Showing 19 changed files with 2,281 additions and 2,077 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ d=docker run --rm -it -v `pwd`:/data --workdir /data naas-models-builder:latest
protoc=$(d) protoc

generate: clean python go build submodules
docker-compose run --rm -it python
docker compose run --rm -it python
cd python/naas_models && sed -i.bak 's/import validate_pb2/import naas_models.validate_pb2/g' *.py && rm *.bak
cd python/naas_models/pydantic && sed -i.bak 's/common_p2p/naas_models.pydantic.common_p2p/g' *.py && rm *.bak
cd python/naas_models/pydantic && sed -i.bak 's/errors_p2p/naas_models.pydantic.errors_p2p/g' *.py && rm *.bak

build:
docker-compose build
docker compose build

python: python/naas_models python/naas_models/pydantic

Expand Down
Loading

0 comments on commit c8e8b9a

Please sign in to comment.