Variables
The following variables are available for string interpolation inside your project configuration files :
Path | Description | Example |
---|---|---|
vars.* | Custom variables, as declared in variables files or through the CLI. | |
project.root | Absolute path to the project root directory. |
|
project.name | The name of the project, as declared in your workspace configuration file. |
|
workspace.root | Absolute path to the workspace root directory. Use root instead. | |
workspace.name | The name of the workspace | |
workspace.projects | Project references declared at the workspace level |
|
workspace.projects.*.path | Project reference relative path, from the workspace root directory. |
|
root | The workspace root directory, as an absolute path. |
|
environment.* | The current process environment variables (after loading all .env files). |
|
architecture | The current platform architecture. Possible values are listed here. |
|
family | The operating system family. Can be either unix or windows . |
|
os | The specific current operating system. Possible values are listed here. |
|
user | The current user name. |
|
hostname | The current machine hostname. This variable can be unset in some cases. | |
sep | Filesystem path component separator for the current platform |
|