Skip to content

Commit 9ce92bb

Browse files
author
Alex Boten
authored
[chore] add make checks target (#31149)
This will allow us to run all the "checks" locally. It's not fast, but it at least saves me from waiting for CI to tell me i messed up :D Signed-off-by: Alex Boten <[email protected]>
1 parent dedd444 commit 9ce92bb

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

Makefile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,3 +440,18 @@ genconfigdocs:
440440
generate-gh-issue-templates:
441441
cd cmd/githubgen && $(GOCMD) install .
442442
githubgen issue-templates
443+
444+
.PHONY: checks
445+
checks:
446+
$(MAKE) checkdoc
447+
$(MAKE) checkmetadata
448+
$(MAKE) checkapi
449+
$(MAKE) -j4 goporto
450+
$(MAKE) crosslink
451+
$(MAKE) -j4 gotidy
452+
$(MAKE) genotelcontribcol
453+
$(MAKE) genoteltestbedcol
454+
$(MAKE) gendistributions
455+
$(MAKE) -j4 generate
456+
$(MAKE) multimod-verify
457+
git diff --exit-code || (echo 'Some files need committing' && git status && exit 1)

0 commit comments

Comments
 (0)