-
Notifications
You must be signed in to change notification settings - Fork 138
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
Using directive to configure sources / source directories #934
Comments
From version
Added in #1157 |
Suggested solution for configuration file When running
Example Let's say we have the following file structure:
And user runs the following command:
Scala CLI will find 2
Since more than one At the end Scala CLI will process all passed inputs. |
Is your feature request related to a problem? Please describe.
In some cases, one may want to configure sources to compile a given source within a source (e.g. script with she-bang or define a non-breakable dependency or to create sbt/mill like project).
Additionally, we should have a default file name (e.g.
project.scala
) that will be a recommended place to put most using directives (dependencies, etc). When no inputs are provided, scala-cli should assume this file is an input if present in CWD, so it would be possible to runscala-cli compile
orscala-cli test
for projects that wants to have more predefined structure (e.g. libraries)>The text was updated successfully, but these errors were encountered: