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

[FEATURE] replaceVersion/Copyright: Also process test-resources #693

Merged
merged 5 commits into from
Feb 14, 2022

Conversation

matz3
Copy link
Member

@matz3 matz3 commented Jan 24, 2022

JIRA: CPOUI5FOUNDATION-424

@coveralls
Copy link

coveralls commented Jan 24, 2022

Coverage Status

Coverage remained the same at 94.786% when pulling dd91f32 on test-resources-replace-placeholders into 034dd43 on next.

@matz3 matz3 force-pushed the test-resources-replace-placeholders branch from 507da37 to c340512 Compare February 8, 2022 09:11
@matz3 matz3 marked this pull request as ready for review February 11, 2022 13:01
@@ -8,7 +8,7 @@ class ThemeLibraryBuilder extends AbstractBuilder {
workspace: resourceCollections.workspace,
options: {
copyright: project.metadata.copyright,
pattern: "/resources/**/*.{less,theme}"
Copy link
Member Author

Choose a reason for hiding this comment

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

Right now there's no need to extend the patterns for theme libraries. So this change should be reverted. Or what do you think?

Copy link
Member

Choose a reason for hiding this comment

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

Yes, let's revert this for theme libraries. It's unlikely to be required for .less and .theme files in a theme's test-resources

@@ -38,7 +38,7 @@ class LibraryBuilder extends AbstractBuilder {
workspace: resourceCollections.workspace,
options: {
version: project.version,
pattern: "/resources/**/*.{js,json,library,less,theme}"
pattern: "/**/*.{js,json,library,less,theme}"
Copy link
Member

Choose a reason for hiding this comment

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

Also add html extension here

@matz3 matz3 merged commit a0d4bc2 into next Feb 14, 2022
@matz3 matz3 deleted the test-resources-replace-placeholders branch February 14, 2022 12:26
This was referenced Mar 8, 2022
matz3 added a commit that referenced this pull request Mar 10, 2022
Follow-up of #693
There are use cases for a version placeholder in *.css files.

This also adds some basic tests for placeholder replacements during
a library build.
matz3 added a commit that referenced this pull request Mar 10, 2022
Follow-up of #693
There are use cases for a version placeholder in *.css files.

This also adds some basic tests for placeholder replacements during
a library build.
matz3 added a commit that referenced this pull request Mar 10, 2022
Follow-up of #693
There are use cases for a version placeholder in *.css files.

This also adds some basic tests for placeholder replacements during
a library build.
This was referenced May 4, 2022
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.

3 participants