-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scheduler: replace retool by go mod (#369)
- Loading branch information
1 parent
35bbb17
commit 348994c
Showing
8 changed files
with
290 additions
and
64 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
bin/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
all: bin/govet bin/overalls bin/golangci-lint bin/revive bin/failpoint-ctl bin/goimports | ||
|
||
bin/govet: | ||
go build -o $@ github.com/dnephin/govet | ||
|
||
bin/overalls: | ||
go build -o $@ github.com/go-playground/overalls | ||
|
||
bin/golangci-lint: | ||
go build -o $@ github.com/golangci/golangci-lint/cmd/golangci-lint | ||
|
||
bin/revive: | ||
go build -o $@ github.com/mgechev/revive | ||
|
||
bin/failpoint-ctl: | ||
go build -o $@ github.com/pingcap/failpoint/failpoint-ctl | ||
|
||
bin/goimports: | ||
go build -o $@ golang.org/x/tools/cmd/goimports |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
module github.com/pingcap-incubator/tinykv/scheduler/_tools | ||
|
||
go 1.13 | ||
|
||
require ( | ||
github.com/dnephin/govet v0.0.0-20171012192244-4a96d43e39d3 | ||
github.com/go-playground/overalls v0.0.0-20180201144345-22ec1a223b7c | ||
github.com/golangci/golangci-lint v1.17.0 | ||
github.com/mgechev/dots v0.0.0-20210922191527-e955255bf517 // indirect | ||
github.com/mgechev/revive v0.0.0-20180723234540-7773f47324c2 | ||
github.com/olekukonko/tablewriter v0.0.5 // indirect | ||
github.com/pingcap/failpoint v0.0.0-20190512135322-30cc7431d99c | ||
golang.org/x/tools v0.0.0-20190420000508-685fecacd0a0 | ||
gopkg.in/go-playground/assert.v1 v1.2.1 // indirect | ||
) |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// +build modguard | ||
|
||
package tools | ||
|
||
import ( | ||
_ "github.com/dnephin/govet" | ||
_ "github.com/go-playground/overalls" | ||
_ "github.com/golangci/golangci-lint/cmd/golangci-lint" | ||
_ "github.com/mgechev/revive" | ||
_ "github.com/pingcap/failpoint/failpoint-ctl" | ||
_ "golang.org/x/tools/cmd/goimports" | ||
) |