Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

adding npm script to clang-format generated files #20

Merged
merged 4 commits into from
Aug 5, 2018
Merged

Conversation

RamyElkest
Copy link
Owner

No description provided.

"check:libvirt_api_xml": "node tools/api_xml_files.js",
"check:libvirt_min_ver": "node tools/check_min_libvirt_ver.js",
"check": "npm run check:libvirt_min_ver & npm run check:libvirt_api_xml"
"check:libvirt_min_ver": "node tools/check_min_libvirt_ver.js"

Choose a reason for hiding this comment

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

This is a small enough hunk on which it is easy to show what I meant by commit separation. One commit should be the reordering of check and check:libvirt_min_ver targets (trivial, push it right away) and yet another one should be the addition of the formatting. With bigger patches it goes very ugly very fast when you are looking at which patch broke something.

Copy link
Owner Author

Choose a reason for hiding this comment

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

agreed, split the patch, thanks

@RamyElkest RamyElkest changed the base branch from full_gen to master August 5, 2018 12:37
@RamyElkest RamyElkest merged commit ba4b933 into master Aug 5, 2018
@RamyElkest RamyElkest deleted the clang-format branch August 13, 2018 00:42
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants