-
Notifications
You must be signed in to change notification settings - Fork 71
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
exclude-task CLI option is ignored for some standard tasks #924
Comments
Hey @BenReim, This is an unfortunate combination of two things. First, for CLI options that take multiple values, those values must be separated by a space. Second, in the case of the So to get your scenario working, replace the comma with a space like this: ui5 build --clean-dest --exclude-task=minify generateLibraryPreload I'll try and dig out the reasoning for not checking the provided task names. I remember that we had to remove this during a refactoring, as it caused trouble when building a project with dependencies. For example when building an application with dependencies, while excluding task I'm sure this can be improved, but I'll change this issue to an enhancement as it (unfortunately) works as designed. |
Some task are being run even if included in the
--exclude-task
CLI optionCurrent Behavior
When running the build in a library project:
Context
The text was updated successfully, but these errors were encountered: