You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/docs/release_notes.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -608,7 +608,7 @@ Added by [@lwronski](https://github.com/lwronski) in https://github.com/VirtusLa
608
608
When running a sequence of commands such as
609
609
```bash ignore
610
610
$ scala-cli run --native .
611
-
$ scala-cli package --native . -o my-app
611
+
$ scala-cli --power package --native . -o my-app
612
612
```
613
613
Scala CLI should cache a Scala Native binary during the first command, so that the second command can just re-use it, rather than generating a binary again. This also fixes the re-use of compilation artifacts between both commands, so that the Scala CLI project isn't re-compiled during the second command either.
614
614
@@ -1380,7 +1380,7 @@ by [alexarchambault](https://github.com/alexarchambault).
1380
1380
1381
1381
#### Don't write preambles in generated assemblies in the `package` sub-command
1382
1382
1383
-
Passing `--preamble=false` to `scala-cli package --assembly` makes it generate assemblies without a shell preamble. As a
1383
+
Passing `--preamble=false` to `scala-cli --power package --assembly` makes it generate assemblies without a shell preamble. As a
1384
1384
consequence, these assemblies cannot be made executable, but these look more like "standard" JARs, which is required in
1385
1385
some contexts.
1386
1386
@@ -1390,10 +1390,10 @@ by [alexarchambault](https://github.com/alexarchambault).
1390
1390
#### Don't put some dependencies in generated assemblies in the `package` sub-command
1391
1391
1392
1392
Some dependencies, alongside all their transitive dependencies, can be excluded from the generated assemblies.
1393
-
Pass `--provided org:name` to `scala-cli package --assembly` to remove a dependency, like
1393
+
Pass `--provided org:name` to `scala-cli --power package --assembly` to remove a dependency, like
0 commit comments