mirror of https://github.com/sbt/sbt.git
When using '++version project/task', the parser now accepts project/command patterns (e.g., 'docs/docusaurusPublishGhpages') even if the project doesn't exist in the current state. This is achieved by adding a fallback parser that accepts any 'project/command' pattern alongside the combinedParser. Previously, '++2.12.19 docs/task' would fail with 'Project not found' if 'docs' project wasn't available in the current Scala version, but '++2.12.19; docs/task' worked. Now both syntaxes work correctly. The fix is targeted to only accept slash-delimited patterns, avoiding interference with other parser components like the -v verbose flag. Fixes #7574 |
||
|---|---|---|
| .. | ||
| src | ||
| NOTICE | ||