-
Notifications
You must be signed in to change notification settings - Fork 23
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
Conversation
JIRA: CPOUI5FOUNDATION-424
507da37
to
c340512
Compare
@@ -8,7 +8,7 @@ class ThemeLibraryBuilder extends AbstractBuilder { | |||
workspace: resourceCollections.workspace, | |||
options: { | |||
copyright: project.metadata.copyright, | |||
pattern: "/resources/**/*.{less,theme}" |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
lib/types/library/LibraryBuilder.js
Outdated
@@ -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}" |
There was a problem hiding this comment.
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
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.
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.
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.
JIRA: CPOUI5FOUNDATION-424