Suppress copying of all resources, just allow the creation via task
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- build-system, cli
Research direction
Start with the ui5 build entry point and the ui5-builder handling for --exclude-task, then run ui5 build --exclude-task '*' to observe resource copying. Check how resources are currently included when all tasks are excluded. Done means resources are not copied by default in that case and can instead be created or transformed by an explicit task.
Written by the indexing model from the issue text.
Description
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)
- Dominant language
- JavaScript
- Stars
- 511
- Forks
- 83
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 55
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from UI5/cli
-
module/ui5-builder
-
Build cache: buildThemes cache is invalidated by irrelevant library.js / .library content changes Openmodule/ui5-builder module/ui5-fs module/ui5-project
Difficulty 3/5 1-2 days Newbie friendliness 76/100
-
module/ui5-project
Difficulty 4/5 3-5 days Newbie friendliness 64/100
-
roadmap
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
babalae/bettergi-scripts-list#3674 ·
-
ecosystem wording
Difficulty 1/5 Under an hour Newbie friendliness 90/100
matrix-org/matrix.org#3649 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
vadimdemedes/ink#1029 ·
-
code-quality refactoring
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·