Skip to content

Commit

Permalink
Merge pull request #7 from jumpstarter-dev/cleanup
Browse files Browse the repository at this point in the history
Drop generated bindings
  • Loading branch information
NickCao authored Oct 1, 2024
2 parents d47d973 + 435034e commit 45e61c6
Show file tree
Hide file tree
Showing 22 changed files with 20 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.

3 changes: 2 additions & 1 deletion buf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ modules:
- path: proto
lint:
use:
- DEFAULT
- STANDARD
except:
- ENUM_ZERO_VALUE_SUFFIX
- FIELD_LOWER_SNAKE_CASE
rpc_allow_same_request_response: true
rpc_allow_google_protobuf_empty_requests: true
rpc_allow_google_protobuf_empty_responses: 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 45e61c6

Please sign in to comment.