Skip to content

Commit

Permalink
fix: Rebuild from proto
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr0p42 committed Jan 24, 2024
1 parent 5486997 commit 18deee8
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 11 deletions.
9 changes: 6 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ d=docker run --rm -it -v `pwd`:/data --workdir /data naas-models-builder:latest
protoc=$(d) protoc

build:
@ docker buildx create --name multiarch --driver docker-container --use 2>&1 > /dev/null || true
@ docker buildx build -f .docker/Dockerfile -t naas-models-builder --platform=linux/arm64,linux/amd64 .
#@ docker buildx create --name multiarch --driver docker-container --use 2>&1 > /dev/null || true
#@ docker buildx build -f .docker/Dockerfile -t naas-models-builder --platform=linux/arm64,linux/amd64 .
@ .docker/load.sh

python: python/naas_models python/naas_models/pydantic
Expand All @@ -20,7 +20,10 @@ go:
clean:
rm -rf dist go python/naas_models/*_pb2.py python/naas_models/pydantic/*_p2p.py

generate: clean python go
submodules:
git submodule init && git submodule update

generate: clean python go build submodules
$(d) python3 -m grpc_tools.protoc \
-I=protos \
-I=lib/protoc-gen-validate/validate \
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion go/github.com/jupyter-naas/naas-models/go/chat/chat.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion go/github.com/jupyter-naas/naas-models/go/iam/iam.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 18deee8

Please sign in to comment.