Description
What is your suggestion?
I am using conan
as a part of a source-level distribution system on npm
for JavaScript packages that contain C++ code (compiled to native binary for Node.js and to WASM for the browser). conan
enables me to produce self-contained builds without having to maintain all the included libraries.
Currently, all my build scripts start with:
{{platform.python}} -m pip install --user git+https://github.com/conan-io/conan # because of #15867
{{platform.python}} -m conans.conan profile detect || echo ok
{{platform.python}} -m conans.conan install ..... <very long line>
The second line works with both bash
and cmd.exe
but it would be even better if there was a --if-not-exists
option - so that all my builds do not start with an error. I could of course create a special profile and overwrite it at each invocation - or even create my own conan
home directory, but I think that I should support the case where the user has an already existing conan
profile that contains custom options.
Have you read the CONTRIBUTING guide?
- I've read the CONTRIBUTING guide