Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
asddongmen committed Jul 4, 2022
1 parent 05c4297 commit 3db875a
Show file tree
Hide file tree
Showing 5 changed files with 457 additions and 2 deletions.
1 change: 1 addition & 0 deletions .vscode/configurationCache.log
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"buildTargets":["build","check","clean","ddl_checker","deps","dump_region","failpoint-disable","failpoint-enable","finish","fmt","importer","integration_test","prepare","sync_diff_inspector","test","tidy","tools","version"],"launchTargets":[],"customConfigurationProvider":{"workspaceBrowse":{"browsePath":[],"compilerArgs":[]},"fileIndex":[]}}
23 changes: 23 additions & 0 deletions .vscode/dryrun.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
make: Entering directory `/Users/dongmen/dongmen/works/tidb-tools'
cp go.mod1 go.mod
cp go.sum1 go.sum
GO111MODULE=on go version
echo "gofmt (simplify)"
gofmt -s -l -w $(find . -name '*.go' -type f | grep -vE 'vendor') 2>&1 | awk '{print} END{if(NR>0) {exit 1}}'
#go get github.com/golang/lint/golint
echo "vet"
GO111MODULE=on go vet -composites=false $(go list ./...)
GO111MODULE=on go vet -vettool=/Users/dongmen/dongmen/works/tidb-tools/bin/shadow $(go list ./...) || true
#@echo "golint"
#@ golint ./... 2>&1 | grep -vE '\.pb\.go' | grep -vE 'vendor' | awk '{print} END{if(NR>0) {exit 1}}'

GO111MODULE=on go build -ldflags '-X "github.com/pingcap/tidb-tools/pkg/utils.Version=v5.3.2" -X "github.com/pingcap/tidb-tools/pkg/utils.BuildTS=2022-07-04 02:17:04" -X "github.com/pingcap/tidb-tools/pkg/utils.GitHash=cf6b7a8ae4b5849a6155634352b3712059defb48" -X "github.com/pingcap/tidb-tools/pkg/utils.GitBranch=master"' -o bin/importer ./importer

GO111MODULE=on go build -ldflags '-X "github.com/pingcap/tidb-tools/pkg/utils.Version=v5.3.2" -X "github.com/pingcap/tidb-tools/pkg/utils.BuildTS=2022-07-04 02:17:04" -X "github.com/pingcap/tidb-tools/pkg/utils.GitHash=cf6b7a8ae4b5849a6155634352b3712059defb48" -X "github.com/pingcap/tidb-tools/pkg/utils.GitBranch=master"' -o bin/sync_diff_inspector ./sync_diff_inspector

GO111MODULE=on go build -ldflags '-X "github.com/pingcap/tidb-tools/pkg/utils.Version=v5.3.2" -X "github.com/pingcap/tidb-tools/pkg/utils.BuildTS=2022-07-04 02:17:04" -X "github.com/pingcap/tidb-tools/pkg/utils.GitHash=cf6b7a8ae4b5849a6155634352b3712059defb48" -X "github.com/pingcap/tidb-tools/pkg/utils.GitBranch=master"' -o bin/ddl_checker ./ddl_checker

cp go.mod go.mod1
cp go.sum go.sum1
make: Leaving directory `/Users/dongmen/dongmen/works/tidb-tools'

3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"makefile.extensionOutputFolder": "./.vscode"
}
Loading

0 comments on commit 3db875a

Please sign in to comment.