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

Defer the expensive search for layout macros until info.json has been processed #14007

Merged
merged 2 commits into from
Aug 15, 2021

Conversation

skullydazed
Copy link
Member

Description

We have a fallback that searches for layout macros in non-standard places. It used to run when layouts were not defined in any C file. This changes it to run only if there are no layouts in info.json as well.

Types of Changes

  • Core
  • Enhancement/optimization

Checklist

  • My code follows the code style of this project: C, Python
  • I have read the PR Checklist document and have made the appropriate changes.
  • I have read the CONTRIBUTING document.
  • I have tested the changes and verified that they work and don't break anything (as well as I can manage).

@github-actions github-actions bot added cli qmk cli command python labels Aug 14, 2021
@skullydazed skullydazed requested a review from a team August 14, 2021 17:33
@tzarc tzarc merged commit fd340f8 into develop Aug 15, 2021
@tzarc tzarc deleted the defer_expensive_search branch August 15, 2021 20:31
nhongooi pushed a commit to nhongooi/qmk_firmware that referenced this pull request Dec 5, 2021
… processed (qmk#14007)

* defer the expensive search for layout macros until info.json has been processed

* fixup names
BorisTestov pushed a commit to BorisTestov/qmk_firmware that referenced this pull request May 23, 2024
… processed (qmk#14007)

* defer the expensive search for layout macros until info.json has been processed

* fixup names
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli qmk cli command python
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants