-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
implementation of an automatic gpr file with #458
Conversation
e28446b
to
224834c
Compare
This removes duplication of several sources and archives.
85b5d62
to
afd9b34
Compare
Looks great overall, Fabien, thanks. I just have a couple of doubts that I guess I'm missing by being out of context. |
Thank you, it's a nice to have feature.
Are you talking about the comments in your review, or do you have other doubts? |
Just the comments you already answered 👍 |
On Windows when using msys2, the make seen by alr can be different than the one seen from the testsuite scripts. The means that the current way to identify make's version will fail in some cases. This patch introduces a different way to workaround the different version numbers of make.
The project file is used for testing and is not supposed to be withed by users. This way si_units is compatible with alire-project/alire#458.
The project file is used for testing and is not supposed to be withed by users. This way si_units is compatible with alire-project/alire#458.
When adding or removing dependency with
alr with
, a list ofwith
statementfor each project files of the dependencies can be automatically added to the
root project file:
This feature can be permanently enabled or disabled with a local or global
configuration option:
alr config --global --set auto-gpr-with false
Crates with project files not compatible with this feature can disable it using
the
auto-gpr-with
entry:ref #313