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
You can now list environment variables used internally with the `--envs-help` flag.
17
+
This does include some environment variable used by Scala CLI's dependencies (like Coursier, Bloop, etc.), but should not be treated as an exhaustive list.
18
+
19
+
```bash
20
+
scala-cli --env-help --power
21
+
# The following is the list of environment variables used and recognized by Scala CLI.
22
+
# It should by no means be treated as an exhaustive list.
23
+
# Some tools and libraries Scala CLI integrates with may have their own, which may or may not be listed here.
# COURSIER_MODE Coursier mode (can be set to 'offline')
43
+
#
44
+
# Spark
45
+
# SPARK_HOME (power) Spark installation directory
46
+
#
47
+
# Miscellaneous
48
+
# PATH The app path variable
49
+
# DYLD_LIBRARY_PATH Runtime library paths on Mac OS X
50
+
# LD_LIBRARY_PATH Runtime library paths on Linux
51
+
# PATHEXT Executable file extensions on Windows
52
+
# SHELL The currently used shell
53
+
# VCVARSALL Visual C++ Redistributable Runtimes
54
+
# ZDOTDIR Zsh configuration directory
55
+
#
56
+
# Internal
57
+
# CI (power) Marker for running on the CI
58
+
```
59
+
60
+
Added by [@Gedochao](https://github.com/Gedochao) in [#3055.](https://github.com/VirtusLab/scala-cli/pull/3055.)
61
+
62
+
### Features
63
+
* Add environment variable help under `--envs-help` & refactor environment variable usage by [@Gedochao](https://github.com/Gedochao) in [#3055](https://github.com/VirtusLab/scala-cli/pull/3055)
64
+
65
+
### Fixes
66
+
* Fix default scaladoc config, so that id doesn't break all scaladoc links by [@KacperFKorban](https://github.com/KacperFKorban) in [#3041](https://github.com/VirtusLab/scala-cli/pull/3041)
67
+
* Fix the REPL crashing when a dependency's classpath is called by a macro by [@Gedochao](https://github.com/Gedochao) in [#3043](https://github.com/VirtusLab/scala-cli/pull/3043)
68
+
* Fix Mill export for projects with just the test scope by [@Gedochao](https://github.com/Gedochao) in [#3046](https://github.com/VirtusLab/scala-cli/pull/3046)
69
+
* Ensure `--cli-default-scala-version` is respected by `--scalac-help` by [@Gedochao](https://github.com/Gedochao) in [#3048](https://github.com/VirtusLab/scala-cli/pull/3048)
70
+
* Fix `generate-linux-arm64-native-launcher` by [@Gedochao](https://github.com/Gedochao) in [#3053](https://github.com/VirtusLab/scala-cli/pull/3053)
71
+
72
+
### Internal changes
73
+
* Prevent some flaky tests from failing on the CI by [@Gedochao](https://github.com/Gedochao) in [#3049](https://github.com/VirtusLab/scala-cli/pull/3049)
74
+
* Switch to GitHub M1/`aarch64` runners on the CI by [@Gedochao](https://github.com/Gedochao) in [#3050](https://github.com/VirtusLab/scala-cli/pull/3050)
75
+
* Fix Scala 2 nightly test failures by tagging them as flaky or skipping by [@Gedochao](https://github.com/Gedochao) in [#3064](https://github.com/VirtusLab/scala-cli/pull/3064)
76
+
77
+
### Updates
78
+
* Update scala-cli.sh launcher for 1.4.1 by [@github-actions](https://github.com/features/actions) in [#3039](https://github.com/VirtusLab/scala-cli/pull/3039)
79
+
* Update ammonite to 3.0.0-M2-15-9bed9700 by [@scala-steward](https://github.com/scala-steward) in [#3059](https://github.com/VirtusLab/scala-cli/pull/3059)
80
+
* Update metaconfig-typesafe-config to 0.13.0 by [@scala-steward](https://github.com/scala-steward) in [#3058](https://github.com/VirtusLab/scala-cli/pull/3058)
81
+
* Update semanticdb-shared_2.13.14 to 4.9.9 by [@scala-steward](https://github.com/scala-steward) in [#3063](https://github.com/VirtusLab/scala-cli/pull/3063)
82
+
* Update scalafmt-cli_2.13, scalafmt-core to 3.8.3 by [@scala-steward](https://github.com/scala-steward) in [#3062](https://github.com/VirtusLab/scala-cli/pull/3062)
83
+
* Update os-lib to 0.10.3 by [@scala-steward](https://github.com/scala-steward) in [#3061](https://github.com/VirtusLab/scala-cli/pull/3061)
0 commit comments