Skip to content

Commit

Permalink
Tools dependency for protoc-gen-gorums in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
meling committed Mar 27, 2021
1 parent cc11cf9 commit 1a3fcf5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Both the client and the server are included in the same binary, and four local s
To install:

```shell
make tools
make
```

Expand Down
3 changes: 2 additions & 1 deletion examples/tools.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
//go:build tools
// +build tools

package examples

import (
_ "github.com/relab/gorums"
_ "github.com/relab/gorums/cmd/protoc-gen-gorums"
_ "google.golang.org/protobuf/cmd/protoc-gen-go"
)
1 change: 1 addition & 0 deletions tools.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build tools
// +build tools

package gorums
Expand Down

0 comments on commit 1a3fcf5

Please sign in to comment.