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

chore: generate metadata-function-map #3392

Merged
merged 4 commits into from
Feb 18, 2022
Merged

Conversation

straker
Copy link
Contributor

@straker straker commented Feb 17, 2022

Automatically generate the metadata-function-map file on build. This should remove the tedious nature of manually updating the file with changes.

Closes issue: #2694
Closes issue: #2208

@straker straker requested a review from a team as a code owner February 17, 2022 23:02
import svgNamespaceMatches from '../../rules/svg-namespace-matches';
import windowIsTopMatches from '../../rules/window-is-top-matches';
import xmlLangMismatchMatches from '../../rules/xml-lang-mismatch-matches';
// This file is automatically generated using build/tasks/metadata-function-map.js
Copy link
Contributor

Choose a reason for hiding this comment

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

If we're generating this file, why do we need it in the git repo?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point.

@straker straker merged commit fa6cbf4 into develop Feb 18, 2022
@straker straker deleted the metadata-function-map branch February 18, 2022 17:01
straker added a commit that referenced this pull request May 12, 2022
* chore: generate metadata-function-map

* cleanup

* fix windows

* ignore file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants