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

Scala CLI does not compute root project properly #646

Closed
romanowski opened this issue Feb 9, 2022 · 1 comment · Fixed by #1260
Closed

Scala CLI does not compute root project properly #646

romanowski opened this issue Feb 9, 2022 · 1 comment · Fixed by #1260
Assignees
Labels
bug Something isn't working
Projects

Comments

@romanowski
Copy link
Member

romanowski commented Feb 9, 2022

Version(s)

0.1.0

Describe the bug

With the following directory structure:

.
├── a
│   └── A.scala
└── b
    └── B.scala

When runnning scala-cli a/A.scala b/B.scala the .scala-build and .bap directories are generated in a instead of cwd (current directory).

I also think that Scala CLI should expose a command line option to manually provide a project root, mainly to generate .bsp directory in the right place.

@romanowski romanowski added the bug Something isn't working label Feb 9, 2022
@romanowski romanowski added this to To do in Issue Board Feb 9, 2022
@lwronski lwronski linked a pull request Feb 16, 2022 that will close this issue
@lwronski
Copy link
Contributor

If you want to change manually bsp directory, you can pass following parameter:
$ scala-cli setup-ide . --bsp-directory .bsp

@lwronski lwronski moved this from To do to In progress in Issue Board Feb 21, 2022
@lwronski lwronski moved this from In progress to To do in Issue Board May 25, 2022
@wleczny wleczny self-assigned this Aug 18, 2022
@wleczny wleczny linked a pull request Aug 18, 2022 that will close this issue
@wleczny wleczny pinned this issue Aug 19, 2022
@wleczny wleczny unpinned this issue Aug 19, 2022
@lwronski lwronski moved this from To do to In progress in Issue Board Aug 25, 2022
@Gedochao Gedochao moved this from In progress to Done in Issue Board Aug 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
3 participants