Skip to content

Commit

Permalink
Repair virtus links
Browse files Browse the repository at this point in the history
  • Loading branch information
som-snytt committed Jan 4, 2024
1 parent 1d8fadd commit e523d81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _sips/sips/scala-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ Last section of this proposal is the list of options that each sub-command MUST



Scala CLI can also be configured with ["using directives"](https://scala-cli.virtuslab.org/docs/guides/using-directives) - a comment-based configuration syntax that should be placed at the top of Scala files. This allows for self-containing examples within one file since most of the configuration can be provided either from the command line or via using directives (command line has precedence). This is a game changer for use cases like scripting, reproduction, or within the academic scope.
Scala CLI can also be configured with ["using directives"](https://scala-cli.virtuslab.org/docs/reference/directives#using-directives) - a comment-based configuration syntax that should be placed at the top of Scala files. This allows for self-containing examples within one file since most of the configuration can be provided either from the command line or via using directives (command line has precedence). This is a game changer for use cases like scripting, reproduction, or within the academic scope.

We have described the motivation, syntax and implementation basis in the [dedicated pre-SIP](https://contributors.scala-lang.org/t/pre-sip-using-directives/5700). Currently, we recommend to write using directives as comments, so making them part of the language specification is not necessary at this stage. Moreover, the new `scala` command could ignore using directives in the initial version, however we strongly suggest to include comment-based using directives from the start.

Expand All @@ -149,7 +149,7 @@ Adopting Scala CLI as the new `scala` command, as is, will change some of the be

### Other concerns

Scala CLI brings [using directives](https://scala-cli.virtuslab.org/docs/guides/using-directives) and [conventions to mark the test files](https://scala-cli.virtuslab.org/docs/commands/test#test-sources). We suggest to accept both accepted as a part of this SIP but we are ready to open dedicated SIPs for both (we have opened a [pre-SIP for using directives](https://contributors.scala-lang.org/t/pre-sip-using-directives/5700/15))
Scala CLI brings [using directives](https://scala-cli.virtuslab.org/docs/reference/directives#using-directives) and [conventions to mark the test files](https://scala-cli.virtuslab.org/docs/commands/test#test-sources). We suggest to accept both accepted as a part of this SIP but we are ready to open dedicated SIPs for both (we have opened a [pre-SIP for using directives](https://contributors.scala-lang.org/t/pre-sip-using-directives/5700/15))

Scala CLI is an ambitious project and may seem hard to maintain in the long-run.

Expand Down

0 comments on commit e523d81

Please sign in to comment.