-
Notifications
You must be signed in to change notification settings - Fork 88
/
tools.go
32 lines (23 loc) · 1.08 KB
/
tools.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Copyright © 2022-2024 Obol Labs Inc. Licensed under the terms of a Business Source License 1.1
//go:build tools
// +build tools
package main
// This file contains build time developer tools used in the charon repo.
// To install all the tools run: go generate tools.go
// Allow testutil
import (
_ "github.com/bufbuild/buf/cmd/buf"
_ "golang.org/x/tools/cmd/stringer"
_ "google.golang.org/protobuf/cmd/protoc-gen-go"
)
//go:generate echo Installing tools: stringer
//go:generate go install golang.org/x/tools/cmd/stringer
//go:generate echo Installing tools: mockery
//go install github.com/vektra/mockery/[email protected]
//go:generate echo Installing tools: protobuf
//go:generate go install github.com/bufbuild/buf/cmd/buf@latest
//go:generate go install github.com/bufbuild/buf/cmd/protoc-gen-buf-breaking@latest
//go:generate go install github.com/bufbuild/buf/cmd/protoc-gen-buf-lint@latest
//go:generate go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
//go:generate echo Installing tools: compose
//go:generate go install github.com/obolnetwork/charon/testutil/compose/compose