Skip to content

Commit b0eff0e

Browse files
committed
add custom-gcl target and remove tidy
1 parent 9e851b2 commit b0eff0e

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

Makefile

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -248,39 +248,37 @@ tools/custom-gcl: tools/structwrite .custom-gcl.yml
248248
golangci-lint custom
249249

250250
.PHONY: lint
251-
lint: tidy tools/custom-gcl
251+
lint: tools/custom-gcl
252252
# revive -config revive.toml -exclude storage/ledger/trie ./...
253253
./tools/custom-gcl run -v $(or $(LINT_PATH),./...)
254254

255255
.PHONY: lint-new
256-
lint-new: tidy tools/custom-gcl
257-
# revive -config revive.toml -exclude storage/ledger/trie ./...
256+
lint-new: tools/custom-gcl
258257
./tools/custom-gcl run -v --new-from-rev=master
259258

260259
.PHONY: fix-lint
261-
fix-lint:
260+
fix-lint: tools/custom-gcl
262261
# revive -config revive.toml -exclude storage/ledger/trie ./...
263262
./tools/custom-gcl run -v --fix $(or $(LINT_PATH),./...)
264263

265264
.PHONY: fix-lint-new
266-
fix-lint-new:
267-
# revive -config revive.toml -exclude storage/ledger/trie ./...
265+
fix-lint-new: tools/custom-gcl
268266
./tools/custom-gcl run -v --fix --new-from-rev=master
269267

270268
.PHONY: fix-imports
271-
fix-imports:
269+
fix-imports: tools/custom-gcl
272270
./tools/custom-gcl run --enable-only=gci --fix $(or $(LINT_PATH),./...)
273271

274272
.PHONY: fix-imports-new
275-
fix-imports-new:
273+
fix-imports-new: tools/custom-gcl
276274
./tools/custom-gcl run --enable-only=gci --fix --new-from-rev=master
277275

278276
.PHONY: vet
279-
vet:
277+
vet: tools/custom-gcl
280278
./tools/custom-gcl run --enable-only=govet $(or $(LINT_PATH),./...)
281279

282280
.PHONY: vet-new
283-
vet-new:
281+
vet-new: tools/custom-gcl
284282
./tools/custom-gcl run --enable-only=govet --new-from-rev=master
285283

286284
# Runs unit tests with different list of packages as passed by CI so they run in parallel

0 commit comments

Comments
 (0)