File tree 3 files changed +15
-1
lines changed
3 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,13 @@ Publishing io.github.scala-cli:hello-scala-cli_3:0.1.0-SNAPSHOT
44
44
~/.ivy2/local/io.github.scala-cli/hello-scala-cli_3/0.1.0-SNAPSHOT/
45
45
```
46
46
47
+ ::: caution
48
+ The ` publish local ` sub-command does not currently support publishing of the test scope.
49
+ This includes any file that is placed in ` test ` directory or with the ` .test.scala ` suffix.
50
+
51
+ Read more about test sources in [ testing documentation] ( ../test.md#test-sources ) .
52
+ :::
53
+
47
54
</ChainedSnippets >
48
55
49
56
## Required settings
Original file line number Diff line number Diff line change @@ -322,3 +322,10 @@ Publishing io.github.scala-cli:hello-scala-cli_3:0.1.0-SNAPSHOT
322
322
```
323
323
324
324
</ChainedSnippets >
325
+
326
+ ::: caution
327
+ The ` publish local ` sub-command does not currently support publishing of the test scope.
328
+ This includes any file that is placed in ` test ` directory or with the ` .test.scala ` suffix.
329
+
330
+ Read more about test sources in [ testing documentation] ( ../test.md#test-sources ) .
331
+ :::
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ path (`test/scala/b.scala`) contains a directory named `test`.
68
68
Conversely, ` scala-cli example/src/test ` results in no test sources, since the relative path to ` b.scala ` does not
69
69
contain ` test ` (the fact that the directory provided as input is named ` test ` does not make its content a test source).
70
70
71
- Directives take precedence over file or path names, so ` using target main ` can be used to force ` test/a.scala `
71
+ Directives take precedence over file or path names, so ` using target.scope main ` can be used to force ` test/a.scala `
72
72
or ` a.test.scala ` to not be treated as tests.
73
73
74
74
As a rule of thumb, we recommend naming all of your test files with the ` .test.scala ` suffix.
You can’t perform that action at this time.
0 commit comments