Skip to content
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

Merged
merged 2 commits into from Feb 11, 2020
Merged

Makefile fixes #687

merged 2 commits into from Feb 11, 2020

Conversation

chmouel
Copy link
Member

@chmouel chmouel commented Feb 6, 2020

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, since $() is evaluated in makefile, need to use backquote for subshell
    exansion

@tekton-robot tekton-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Feb 6, 2020
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
Signed-off-by: Chmouel Boudjnah <chmouel@redhat.com>
@tekton-robot tekton-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Feb 6, 2020
@@ -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
Copy link
Member

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)

Copy link
Member Author

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?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vdemeester ping!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol, not sure 😛

@chmouel
Copy link
Member Author

chmouel commented Feb 6, 2020

/retest

Copy link
Member

@vdemeester vdemeester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/meow

@tekton-robot
Copy link
Contributor

@vdemeester: cat image

In response to this:

/lgtm
/meow

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.

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Feb 11, 2020
@tekton-robot
Copy link
Contributor

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 11, 2020
@tekton-robot tekton-robot merged commit 728fd3c into tektoncd:master Feb 11, 2020
@chmouel chmouel deleted the make-generate branch June 27, 2021 05:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cla: yes lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants