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

meson cleanups with muon #2539

Merged
merged 2 commits into from
Oct 3, 2022
Merged

meson cleanups with muon #2539

merged 2 commits into from
Oct 3, 2022

Conversation

neheb
Copy link
Contributor

@neheb neheb commented Oct 3, 2022

muon: https://sr.ht/~lattis/muon/ has a formatter that can be used to clean up meson build files. Similar to clang-format.

@codecov
Copy link

codecov bot commented Oct 3, 2022

Codecov Report

Merging #2539 (f280ea1) into devel (4db8b50) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##            devel    #2539   +/-   ##
=======================================
  Coverage   91.56%   91.56%           
=======================================
  Files         183      183           
  Lines        7558     7558           
=======================================
  Hits         6920     6920           
  Misses        638      638           

neheb added 2 commits October 2, 2022 21:27
Cleans it up.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Allows muon to alphabetically sort files. switch headers back to arrays
as split() can only be used on strings.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
'catch_tostring.cpp',
'catch_totals.cpp',
'catch_version.cpp',
)

reporter_headers = [
Copy link
Member

@horenmar horenmar Oct 3, 2022

Choose a reason for hiding this comment

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

Why are some changed to files and some are not?

--e--

Actually I see it is a headers vs sources split, but same question.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I mentioned it in the commit message. split() is used later on. That only works for strings, not files.

@horenmar horenmar added the Building and Packaging Issues affecting build/packaging scripts and utilities label Oct 3, 2022
@horenmar
Copy link
Member

horenmar commented Oct 3, 2022

OK, thanks.

@horenmar horenmar merged commit 6a9bf2e into catchorg:devel Oct 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Building and Packaging Issues affecting build/packaging scripts and utilities
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants