Skip to content

Default values for environment variables #839

Answered by sagiegurari
jayvdb asked this question in Q&A
Discussion options

You must be logged in to vote

@jayvdb ya you can do something like the below:

PREFER_EXISTING = { value = "new", condition = { env_not_set = ["PREFER_EXISTING"] } }

see more at:

https://github.com/sagiegurari/cargo-make#conditional
https://github.com/sagiegurari/cargo-make#global-configuration

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jayvdb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants