-
Notifications
You must be signed in to change notification settings - Fork 359
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
[bug][docs] Missing information about removal of -e
, -e:b
and -e:h
and what to use instead
#3654
Comments
-e
, and what to use instead-e
, and what to use instead
-e
, and what to use instead-e
, -e:b
and -e:h
and what to use instead
Thanks for reporting this. There are no plans to allow command line global environment variables, but to rely on system ones, like: $ MYVAR=1 conan install ...
# or
$ set MYVAR=1 && conan install ... In general, it would be discouraged to rely on env-vars for Conan related control (the recommended way to pass information to Conan is the new |
Thanks @memsharded for instant response. The
https://docs.conan.io/1/reference/commands/consumer/install.html#env-variables |
Not really. The More info in https://docs.conan.io/2/reference/config_files/global_conf.html#configuration-patterns |
With Conan 2 the
-e
,-e:b
and-e:h
parameters was removed:There is missing information in documentation about it (e.g. in migration guide: https://docs.conan.io/1/migrating_to_2.0/general.html#environment-variables) and how to replace it.
The text was updated successfully, but these errors were encountered: