Suppress copying of all resources, just allow the creation via task
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 35/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- javascript
- Bereich
- build-system, cli
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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)
- Vorherrschende Sprache
- JavaScript
- Sterne
- 511
- Forks
- 82
- Ø Merge
- 1 T. 3 Std.
- Gemergte PRs (30 T.)
- 54
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus UI5/cli
-
Build cache: buildThemes cache is invalidated by irrelevant library.js / .library content changesOffenmodule/ui5-builder module/ui5-fs module/ui5-project
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 76/100
Maintainer antworten meist innerhalb von 1 Tag
-
module/ui5-project
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 64/100
Maintainer antworten meist innerhalb von 1 Tag
-
[ROADMAP] UI5 CLI 6.0 / Specification Version 6.0Evtl. wieder frei @flovogt hat das vor 75 Tagen übernommen, und es ist kein Pull Request offen. Offenroadmap
UI5/cli#1485 · 1 Reaktion · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
build excludes from application project are not applied to dependenciesEvtl. wieder frei @flovogt hat das vor 49 Tagen übernommen, und es ist kein Pull Request offen. Offen
UI5/cli#1446 · 3 Kommentare · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
Option to specify custom UI5 config for workspace dependency resolutionEvtl. vergeben @flovogt hat das vor 175 Tagen übernommen. Offen
UI5/cli#1369 · 1 Kommentar · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
Ähnliche Issues
-
correction via-web
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 67/100
ch-bas/cctv-camera-database#416 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug effort:medium model:light tests
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
Maintainer antworten meist innerhalb von 1 Tag
-
documentation help wanted
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
piskyRpapalo/preceptoros-web#231 ·
Maintainer antworten meist innerhalb von 1 Tag
-
type/bug type/docs type/enhancement
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 86/100
Redo-San/RedoSan-Authenticity#574 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Place search spins forever when nominatim failsEvtl. vergeben @jgt87 hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
anvaka/city-roads#213 ·