Skip to content

Commit

Permalink
remove binogctl (#266)
Browse files Browse the repository at this point in the history
  • Loading branch information
WangXiangUSTC authored Sep 9, 2019
1 parent d06658f commit 82398b5
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 557 deletions.
9 changes: 3 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: build importer dump_region binlogctl sync_diff_inspector ddl_checker test check deps
.PHONY: build importer dump_region sync_diff_inspector ddl_checker test check deps

# Ensure GOPATH is set before running build process.
ifeq "$(GOPATH)" ""
Expand All @@ -25,9 +25,9 @@ PACKAGE_LIST := go list ./...
PACKAGES := $$($(PACKAGE_LIST))
FAIL_ON_STDOUT := awk '{ print } END { if (NR > 0) { exit 1 } }'

build: prepare check importer binlogctl sync_diff_inspector ddl_checker finish
build: prepare check importer sync_diff_inspector ddl_checker finish

prepare:
prepare:
cp go.mod1 go.mod
cp go.sum1 go.sum

Expand All @@ -37,9 +37,6 @@ importer:
dump_region:
$(GO) build -ldflags '$(LDFLAGS)' -o bin/dump_region ./dump_region

binlogctl:
$(GO) build -ldflags '$(LDFLAGS)' -o bin/binlogctl ./tidb-binlog/binlogctl

sync_diff_inspector:
$(GO) build -ldflags '$(LDFLAGS)' -o bin/sync_diff_inspector ./sync_diff_inspector

Expand Down
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ make importer # build importer
make sync_diff_inspector # build sync_diff_inspector
make binlogctl # build binlogctl
make ddl_checker # build ddl_checker
```

Expand All @@ -28,10 +26,6 @@ When tidb-tools are built successfully, you can find the binary in the `bin` dir

A tool for comparing two databases' data and outputting a brief report about the differences.

- [binlogctl](./tidb-binlog/binlogctl)

A tool for performing some tidb-binlog related operations, like querying the status of Pump/Drainer and pause/offline some Pump/Drainer.

- [ddl_checker](./ddl_checker)

A tool for checking if DDL SQL can be successfully executed by TiDB.
Expand Down
100 changes: 0 additions & 100 deletions tidb-binlog/binlogctl/README.md

This file was deleted.

121 changes: 0 additions & 121 deletions tidb-binlog/binlogctl/config.go

This file was deleted.

66 changes: 0 additions & 66 deletions tidb-binlog/binlogctl/main.go

This file was deleted.

Loading

0 comments on commit 82398b5

Please sign in to comment.