mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 18:31:54 +00:00
Following https://github.com/golang/go/wiki/Modules#how-can-i-track-tool-dependencies-for-a-module Using an unpinned version can cause an unintended package upgrade whenever golang.org/x/tools publishes a new version.
23 lines
669 B
Go
23 lines
669 B
Go
//go:build tools
|
|
// +build tools
|
|
|
|
package main
|
|
|
|
import (
|
|
// zoekt-* used in sourcegraph/server docker image build
|
|
_ "github.com/google/zoekt/cmd/zoekt-archive-index"
|
|
_ "github.com/google/zoekt/cmd/zoekt-git-index"
|
|
_ "github.com/google/zoekt/cmd/zoekt-sourcegraph-indexserver"
|
|
_ "github.com/google/zoekt/cmd/zoekt-webserver"
|
|
|
|
// go-mockgen is used to codegen mockable interfaces, used in precise code intel tests
|
|
_ "github.com/derision-test/go-mockgen/cmd/go-mockgen"
|
|
|
|
// used in schema pkg
|
|
_ "github.com/sourcegraph/go-jsonschema/cmd/go-jsonschema-compiler"
|
|
|
|
_ "golang.org/x/tools/cmd/goimports"
|
|
// used in many places
|
|
_ "golang.org/x/tools/cmd/stringer"
|
|
)
|