File tree 4 files changed +12
-2
lines changed
4 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 2
2
* /* .iml
3
3
* /.idea
4
4
deps.sh
5
+ go.sum
6
+ go.mod
Original file line number Diff line number Diff line change @@ -23,7 +23,11 @@ FILES := $$(find . -name '*.go' -type f | grep -vE 'vendor')
23
23
VENDOR_TIDB := vendor/github.com/pingcap/tidb
24
24
25
25
26
- build : check test importer checker dump_region binlogctl sync_diff_inspector
26
+ build : prepare check test importer checker dump_region binlogctl sync_diff_inspector finish
27
+
28
+ prepare :
29
+ cp go.mod1 go.mod
30
+ cp go.sum1 go.sum
27
31
28
32
importer :
29
33
$(GO ) build -ldflags ' $(LDFLAGS)' -o bin/importer ./importer
57
61
# @echo "golint"
58
62
# @ golint ./... 2>&1 | grep -vE '\.pb\.go' | grep -vE 'vendor' | awk '{print} END{if(NR>0) {exit 1}}'
59
63
@echo " gofmt (simplify)"
60
- @ gofmt -s -l -w $(FILES ) 2>&1 | awk ' {print} END{if(NR>0) {exit 1}}'
64
+ @ gofmt -s -l -w $(FILES ) 2>&1 | awk ' {print} END{if(NR>0) {exit 1}}'
65
+
66
+ finish :
67
+ cp go.mod go.mod1
68
+ cp go.sum go.sum1
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments