ui5-tooling icon indicating copy to clipboard operation
ui5-tooling copied to clipboard

Suppress copying of all resources, just allow the creation via task

Open petermuessig opened this issue 6 years ago • 3 comments

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)

petermuessig avatar Nov 22 '19 10:11 petermuessig

Regarding the naming of the parameter: maybe something like ui5 build --skip-source-copy?

RandomByte avatar Nov 27 '19 13:11 RandomByte

What about the coping of resources being a separate task which can be excluded?

petermuessig avatar Nov 27 '19 13:11 petermuessig

Uh, I like that!

RandomByte avatar Nov 28 '19 11:11 RandomByte