From 3ba4b3c7a2a86be8054b83319831f0f5e3fbc373 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Wro=C5=84ski?= Date: Thu, 2 Mar 2023 17:40:56 +0100 Subject: [PATCH] Fix invalid examples of using directive in guide --- website/docs/guides/using-directives.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/website/docs/guides/using-directives.md b/website/docs/guides/using-directives.md index b799e82f32..0885394229 100644 --- a/website/docs/guides/using-directives.md +++ b/website/docs/guides/using-directives.md @@ -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 ""` - marks directory as source of resources. Resources accessible at runtime and packaged together with compiled code. -- ``//> using `java-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` `` - 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"` 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: