Skip to content

[2.x] refactor: Remove old sbt 0.13 shell syntax - #7700

Merged
eed3si9n merged 1 commit into
sbt:developfrom
eed3si9n:wip/remove-old-shell-syntax
Sep 28, 2024
Merged

[2.x] refactor: Remove old sbt 0.13 shell syntax#7700
eed3si9n merged 1 commit into
sbt:developfrom
eed3si9n:wip/remove-old-shell-syntax

Conversation

@eed3si9n

Copy link
Copy Markdown
Member

Fixes #7696

Problem

sbt 1.x introduced the slash syntax midway, so it kept the old a/test:console::scalacOptions syntax, which hopefully aren't in any more. sbt 1.x has been displaying deprecation warning on this.

sbt:sbtRoot> mainProj/test:console::scalacOptions
[warn] sbt 0.13 shell syntax is deprecated; use slash syntax instead: mainProj / Test / console / scalacOption

Solution

This removes the support from the shell parser.

Comment thread main/src/main/scala/sbt/internal/Act.scala
@eed3si9n
eed3si9n merged commit 1ceef86 into sbt:develop Sep 28, 2024
@eed3si9n
eed3si9n deleted the wip/remove-old-shell-syntax branch September 28, 2024 22:50
@SethTisue

Copy link
Copy Markdown
Member

amazing 👏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants