Skip to content

Commit

Permalink
Fix invalid examples of using directive in guide
Browse files Browse the repository at this point in the history
  • Loading branch information
lwronski committed Mar 2, 2023
1 parent 233328d commit ed4457a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions website/docs/guides/using-directives.md
Expand Up @@ -112,10 +112,10 @@ Below is a list of the most important `using` directives that Scala CLI supports
- `//> using dep "org::name:version"` - defines dependency to a given library [more in dedicated guide](/docs/guides/dependencies.md)
- `//> using dep "org:name:version"` - defines dependency to a given **java** library, note the `:` instead of `::`
- `//> using dep "org::name:version,url=url"` - defines dependency to a given library with a fallback to its jar url
- `//> using resourceDir "<dir>"` - marks directory as source of resources. Resources accessible at runtime and packaged together with compiled code.
- ``//> using `java-opt` "<opt>"`` - use given java options when running application or tests
- `//> using target ["test"|"main"]` used to marked or unmarked given source as test
- ``//> using `test-framework` <framework> `` - select test framework to use
- `//> using resourceDir "dir"` - marks directory as source of resources. Resources accessible at runtime and packaged together with compiled code.
- `//> using javaOpt "opt"` - use given java options when running application or tests
- `//> using target.scope "test|main"` used to marked or unmarked given source as test
- `//> using testFramework "framework"` - select test framework to use

There are several reasons that we believe `using` directives are a good solution:

Expand Down

0 comments on commit ed4457a

Please sign in to comment.