New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
makefile: Add a 'make checkall' target #2292
Conversation
6b16011
to
3d96f82
Compare
Codecov Report
@@ Coverage Diff @@
## master #2292 +/- ##
=======================================
Coverage 77.45% 77.45%
=======================================
Files 59 59
Lines 5234 5234
=======================================
Hits 4054 4054
Misses 1092 1092
Partials 88 88 Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #2292 +/- ##
=======================================
Coverage 77.46% 77.46%
=======================================
Files 59 59
Lines 5237 5237
=======================================
Hits 4057 4057
Misses 1092 1092
Partials 88 88 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, good for my workflow too, thanks.
Makefile
Outdated
@@ -35,6 +35,9 @@ export GO111MODULE=on | |||
.PHONY: check | |||
check: install check-test check-test-race ## Install and run tests | |||
|
|||
.PHONY: checkall | |||
checkall: check lint generate generate-check |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure you don't want to just bundle this up under check
?
Signed-off-by: Steve Sloka <slokas@vmware.com>
3d96f82
to
49bc994
Compare
Fixes #2291
This PR adds a
make checkall
task which runs the tests, install, linting and generate tasks. It's using the aliases such that as these commands grow, the meaning behind the commands doesn't have to be translated.Additionally, it renames the
check-
tasks under thelint
task to be prefixed withlint-*
to keep consistency.Signed-off-by: Steve Sloka slokas@vmware.com