Skip to content
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

sbt --version and sbt -V create a new target/ directory #8065

Closed
eed3si9n opened this issue Mar 16, 2025 · 1 comment · Fixed by #8066
Closed

sbt --version and sbt -V create a new target/ directory #8065

eed3si9n opened this issue Mar 16, 2025 · 1 comment · Fixed by #8066
Labels
area/runner-script issues around sbt-the-bash-script, or bat script Bug
Milestone

Comments

@eed3si9n
Copy link
Member

eed3si9n commented Mar 16, 2025

This was reported originally on Discord sbt channel.

Ref #7284

steps

sbt -V

problem

the tool creates a folder named target in the current working directory for no reason

expectation

  1. it doesn't create target
  2. one idea suggested by @BalmungSan is to forward to --script-version when a build isn't detected
@eed3si9n eed3si9n added area/runner-script issues around sbt-the-bash-script, or bat script Bug labels Mar 16, 2025
@eed3si9n eed3si9n added this to the 1.10.11 milestone Mar 16, 2025
@eed3si9n
Copy link
Member Author

Here's a PR for this - #8066

@ElenaKay ElenaKay marked this as a duplicate and then as not a duplicate of #8079 Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/runner-script issues around sbt-the-bash-script, or bat script Bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant