Suppress copying of all resources, just allow the creation via task
Expected Behavior
When excluding all tasks I would also expect that the resources are not copied by default.
Current Behavior
When using the exclude-task option to suppress all tasks in the library build type then the resources are still copied to the dest directory.
By using a task to copy the resources which could be excluded I can implement an own task which does this and where I maybe change the names and locations of the source files. E.g. while copying I want to read source hbs files and create dest lit.js files without changing the one hbs resource to set a new path and new content.
Steps to reproduce the issue
Just run ui5 build --exclude-task *
Context
Not related
Affected components (if known)
- [X] ui5-builder
- [ ] ui5-server
- [ ] ui5-cli
- [ ] ui5-fs
- [ ] ui5-project
- [ ] ui5-logger
Regarding the naming of the parameter: maybe something like ui5 build --skip-source-copy?
What about the coping of resources being a separate task which can be excluded?
Uh, I like that!