-
Notifications
You must be signed in to change notification settings - Fork 991
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
Add barebones template to conan new
#12802
Add barebones template to conan new
#12802
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the idea of having some other convenient templates, they are useful for teaching, testing, examples, etc. I think we can also provide other improvements for the templates, like some templates with requires
(not in this PR, just an idea).
Please check the comments, add some simple test to cover it, and it should be good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the reviews, I've implemented most of the requested changes, with only the explanation comments left to do
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good
Co-authored-by: James <memsharded@gmail.com>
Co-authored-by: James <memsharded@gmail.com>
Changelog: Feature: Add barebones template option to conan new.
Docs: conan-io/docs#2881
While testing some functionality, I had the need to create a very basic recipe to test some commands on. As I thought that "there probably is a template for it in conan new" and was disappointed when it wasn't.
I had to implement the ability to add multiple values to the same definition, so something like
-d requires=math/1.0 -d requires=ai/1.3
would result inwithout breaking
develop
branch, documenting this one.Note: By default this PR will skip the slower tests and will use a limited set of python versions. Check here how to increase the testing level by writing some tags in the current PR body text.