-
Notifications
You must be signed in to change notification settings - Fork 255
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 fixes #687
Makefile fixes #687
Conversation
Some makefile fixes: * Include `lint-yaml` target when doing `make lint` * Add `generate` target that would includes all the generation targets (ie man docs/golden) * Fix make fmt, $() is evaluated in makefile, need to use backquote for subshell exansion
d600a6d
to
7a274ce
Compare
Signed-off-by: Chmouel Boudjnah <[email protected]>
@@ -80,13 +80,16 @@ man: bin/docs ## update manpages | |||
@echo "Update generated manpages" | |||
@./bin/docs --target=./docs/man/man1 --kind=man | |||
|
|||
.PHONY: generated | |||
generated: test-unit-update-golden man docs fmt ## generate all files that needs to be generated |
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.
I am a little bit worried to put test-unit-update-golden
in generated
as this might update golden file when not intended by the user (and thus hide a unwanted change in the output)
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.
why would it be? this should not happen isnt it ? I mean the point is to have the same exact output unless a code change?
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.
@vdemeester ping!
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.
lol, not sure 😛
/retest |
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
/meow
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: vdemeester The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Some makefile fixes:
lint-yaml
target when doingmake lint
generate
target that would includes all the generation targets (ie mandocs/golden)
make fmt
, since $() is evaluated in makefile, need to use backquote for subshellexansion