Skip to content

Commit

Permalink
Drop generated bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
NickCao committed Oct 1, 2024
1 parent d47d973 commit 731d40a
Show file tree
Hide file tree
Showing 20 changed files with 3 additions and 4,699 deletions.
24 changes: 0 additions & 24 deletions .github/workflows/generate.yaml

This file was deleted.

24 changes: 2 additions & 22 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,29 +1,9 @@
BUF_IMAGE=docker.io/bufbuild/buf:latest
BUF=podman run --volume "$(shell pwd):/workspace" --workdir /workspace docker.io/bufbuild/buf:latest

GENERATED_GO=go/jumpstarter/v1/jumpstarter.pb.go go/jumpstarter/v1/jumpstarter_grpc.pb.go \
go/jumpstarter/v1/router.pb.go go/jumpstarter/v1/router_grpc.pb.go
GENERATED_PYTHON=python/jumpstarter/v1/jumpstarter_pb2.py python/jumpstarter/v1/jumpstarter_pb2_grpc.py \
python/jumpstarter/v1/router_pb2.py python/jumpstarter/v1/router_pb2_grpc.py

all: $(GENERATED_GO) $(GENERATED_PYTHON)
all: lint

lint:
$(BUF) lint

go/jumpstarter/v1/jumpstarter.pb.go: proto/jumpstarter/v1/jumpstarter.proto
$(BUF) generate

go/jumpstarter/v1/jumpstarter_grpc.pb.go: proto/jumpstarter/v1/jumpstarter.proto
$(BUF) generate


go/jumpstarter/v1/router.pb.go: proto/jumpstarter/v1/router.proto
$(BUF) generate

go/jumpstarter/v1/router_grpc.pb.go: proto/jumpstarter/v1/router.proto
$(BUF) generate



.PHONY: lint generate
.PHONY: lint
19 changes: 0 additions & 19 deletions buf.gen.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion buf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ modules:
- path: proto
lint:
use:
- DEFAULT
- STANDARD
except:
- ENUM_ZERO_VALUE_SUFFIX
rpc_allow_same_request_response: true
Expand Down
15 changes: 0 additions & 15 deletions go/go.mod

This file was deleted.

14 changes: 0 additions & 14 deletions go/go.sum

This file was deleted.

Loading

0 comments on commit 731d40a

Please sign in to comment.