Skip to content

Commit

Permalink
docs: Expands the environment variable examples in the reference sect…
Browse files Browse the repository at this point in the history
…ion (#1779)
  • Loading branch information
travishathaway authored Aug 12, 2024
1 parent ecb5357 commit 76ae03f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/reference/project_configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,14 @@ scripts = ["env_setup.bat"]

[target.linux-64.activation.env]
ENV_VAR = "linux-value"

# You can also reference existing environment variables, but this has
# to be done separately for unix-like operating systems and Windows
[target.unix.activation.env]
ENV_VAR = "$OTHER_ENV_VAR/unix-value"

[target.win.activation.env]
ENV_VAR = "%OTHER_ENV_VAR%\\windows-value"
```

## The `target` table
Expand Down

0 comments on commit 76ae03f

Please sign in to comment.