Skip to content

Commit

Permalink
and fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
awalterschulze committed Oct 22, 2024
1 parent 7c519c8 commit 2609255
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 13 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ jobs:
with:
repository: gogo/protobuf
path: gopath/github.com/gogo/protobuf
- name: Checkout testsuite
uses: actions/checkout@v4
with:
repository: katydid/testsuite
path: gopath/github.com/katydid/testsuite
- name: Setup Go
uses: actions/setup-go@v3
with:
Expand Down
9 changes: 9 additions & 0 deletions tools/tools.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
//go:build tools
// +build tools

// tools is a dummy package that will be ignored for builds, but included for dependencies
package tools

import (
_ "github.com/gogo/protobuf/protoc-gen-gogo"
)
16 changes: 8 additions & 8 deletions validator/gen-validator-tests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ gofmt:
gofmt -l -s -w .

regenerate:
(protoc --gogo_out=. -I=.:$(GOPATH)/src/:$(GOPATH)/src/github.com/gogo/protobuf/protobuf person.proto)
(protoc --gogo_out=. -I=.:$(GOPATH)/src/:$(GOPATH)/src/github.com/gogo/protobuf/protobuf srctree.proto)
(protoc --gogo_out=. -I=.:$(GOPATH)/src/:$(GOPATH)/src/github.com/gogo/protobuf/protobuf treeregister.proto)
(protoc --gogo_out=. -I=.:$(GOPATH)/src/:$(GOPATH)/src/github.com/gogo/protobuf/protobuf typewriterprison.proto)
(protoc --gogo_out=. -I=.:$(GOPATH)/src/:$(GOPATH)/src/github.com/gogo/protobuf/protobuf puddingmilkshake.proto)
(protoc --gogo_out=. -I=.:$(GOPATH)/src/:$(GOPATH)/src/github.com/gogo/protobuf/protobuf topsyturvy.proto)
(protoc --gogo_out=. -I=.:$(GOPATH)/src/:$(GOPATH)/src/github.com/gogo/protobuf/protobuf knot.proto)
(protoc --gogo_out=. -I=.:$(GOPATH)/src/:$(GOPATH)/src/github.com/gogo/protobuf/protobuf banana.proto)
(protoc --gogo_out=. -I=.:../../../../..//src/:../../../../..//src/github.com/gogo/protobuf/protobuf person.proto)
(protoc --gogo_out=. -I=.:../../../../..//src/:../../../../..//src/github.com/gogo/protobuf/protobuf srctree.proto)
(protoc --gogo_out=. -I=.:../../../../..//src/:../../../../..//src/github.com/gogo/protobuf/protobuf treeregister.proto)
(protoc --gogo_out=. -I=.:../../../../..//src/:../../../../..//src/github.com/gogo/protobuf/protobuf typewriterprison.proto)
(protoc --gogo_out=. -I=.:../../../../..//src/:../../../../..//src/github.com/gogo/protobuf/protobuf puddingmilkshake.proto)
(protoc --gogo_out=. -I=.:../../../../..//src/:../../../../..//src/github.com/gogo/protobuf/protobuf topsyturvy.proto)
(protoc --gogo_out=. -I=.:../../../../..//src/:../../../../..//src/github.com/gogo/protobuf/protobuf knot.proto)
(protoc --gogo_out=. -I=.:../../../../..//src/:../../../../..//src/github.com/gogo/protobuf/protobuf banana.proto)
find . -name "*.pb.go" | xargs gofmt -l -s -w

0 comments on commit 2609255

Please sign in to comment.