Skip to content

Commit

Permalink
fix: use original proto, generate files
Browse files Browse the repository at this point in the history
  • Loading branch information
nilslice committed Jan 17, 2024
1 parent 8d4574c commit 51d4276
Show file tree
Hide file tree
Showing 42 changed files with 4,018 additions and 132 deletions.
6 changes: 1 addition & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ unknown-cli:
cargo run -- validate -p test/spidermonkey.wasm -c test/unknown-fields.yaml

install:
@echo "if this fails, be sure to install protoc via: https://grpc.io/docs/protoc-installation/"
@echo "check PROTOC: `which protoc`"
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.32.0
cargo install protobuf-codegen@3.2.0
Expand All @@ -22,11 +23,6 @@ generate: install
--php_out=proto/v1/php \
proto/v1/api.proto

generate-php: install
protoc --experimental_allow_proto3_optional \
--php_out=proto/v1/php \
proto/v1/module-no-option.proto

generate-web-list-mods-response:
cd scripts/protobuf-list-modules-response && cargo run --release -- $(take)
mv scripts/protobuf-list-modules-response/ListModulesResponse.pb api/
18 changes: 9 additions & 9 deletions proto/v1/go/modsurferpb/api.pb.go

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

77 changes: 0 additions & 77 deletions proto/v1/module-no-option.proto

This file was deleted.

130 changes: 130 additions & 0 deletions proto/v1/php/AuditModulesRequest.php

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

Loading

0 comments on commit 51d4276

Please sign in to comment.