diff --git a/.devcontainer/scripts/setup-devcontainers.sh b/.devcontainer/scripts/setup-devcontainers.sh index d923129a..8ecf5003 100644 --- a/.devcontainer/scripts/setup-devcontainers.sh +++ b/.devcontainer/scripts/setup-devcontainers.sh @@ -2,5 +2,5 @@ set -e echo "Setting up devcontainer environment..." -chmod +x ./scripts/*.sh -echo "Permissions set." \ No newline at end of file +chmod +x ./../scripts/install-tools.sh +echo "Permissions set." diff --git a/scripts/proto.sh b/scripts/proto.sh index 60f8e258..2044de07 100644 --- a/scripts/proto.sh +++ b/scripts/proto.sh @@ -9,7 +9,8 @@ readonly outPath="./internal/services/$service/internal/shared/grpc/genproto" # https://stackoverflow.com/questions/13616033/install-protocol-buffers-on-windows # https://dev.to/techschoolguru/how-to-define-a-protobuf-message-and-generate-go-code-4g4e protoc \ - --proto_path=api/protobuf "api/protobuf/$service/*.proto" \ - "--go_out=$outPath" \ - "--go-grpc_out=$outPath" \ - --go-grpc_opt=require_unimplemented_servers=false + --proto_path="api/protobuf/$service" \ + --go_out="$outPath" \ + --go-grpc_out="$outPath" \ + --go-grpc_opt=require_unimplemented_servers=false \ + api/protobuf/$service/*.proto