Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing note to release notes about rename parameter #2340

Merged
merged 3 commits into from
Aug 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion website/docs/_advanced_install.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ scala-cli version
Scala CLI can be installed via [apt](https://wiki.debian.org/Apt) packager tool.

```bash
curl -s --compressed "https://virtuslab.github.io/scala-cli-packages/KEY.gpg" | sudo apt-key add -
curl -sS "https://virtuslab.github.io/scala-cli-packages/KEY.gpg" | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/scala-cli.gpg 2>/dev/null
sudo curl -s --compressed -o /etc/apt/sources.list.d/scala_cli_packages.list "https://virtuslab.github.io/scala-cli-packages/debian/scala_cli_packages.list"
sudo apt update
sudo apt install scala-cli
Expand Down
4 changes: 2 additions & 2 deletions website/docs/commands/compile.md
Original file line number Diff line number Diff line change
Expand Up @@ -489,11 +489,11 @@ For example, to exclude all files in the `example/scala` directory, add the foll
Compile-only dependencies, allow to include certain libraries exclusively at the time of the compilation. These
dependencies are added to the class path during compilation, but won't be included when the application is run.

To declare a compile-only dependency, you should use the `compileOnly.lib` directive or `--compile-lib` command line
To declare a compile-only dependency, you should use the `compileOnly.dep` directive or `--compile-lib` command line
option. For instance, to include the `jsoniter-scala-macros` library at compile-time, you would use:

```scala title=CompileOnly.scala
//> using compileOnly.lib "com.github.plokhotnyuk.jsoniter-scala::jsoniter-scala-macros:2.23.2"
//> using compileOnly.dep "com.github.plokhotnyuk.jsoniter-scala::jsoniter-scala-macros:2.23.2"
```

or by using the `--compile-lib` command line option:
Expand Down
7 changes: 7 additions & 0 deletions website/docs/release_notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,13 @@ Whenever overwriting existing Java properties Scala CLI will let you know what w

Added by [@lwronski](https://github.com/lwronski) in [#2317](https://github.com/VirtusLab/scala-cli/pull/2317), Thanks!

## Rename parameter for `publish` command

We've updated the `--version` parameter for the publish command. Now, when specifying the project version, use `--project-version` instead.

```bash ignore
scala-cli publish --project-version 1.0.3 ...
```

## Other changes
* Add custom exception and throw it when node not found in the path by [@lwronski](https://github.com/lwronski) in [#2323](https://github.com/VirtusLab/scala-cli/pull/2323)
Expand Down