Skip to content
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

templates for conan new #5189

Merged
merged 3 commits into from May 22, 2019
Merged

Conversation

memsharded
Copy link
Member

@memsharded memsharded commented May 20, 2019

Changelog: Feature: New conan new --template=mytemplate to initialize recipes with your own templates
Docs: conan-io/docs#1286

This has been improved with Jinja templates in #5267

Close #5192

@memsharded memsharded marked this pull request as ready for review May 20, 2019 20:33
@lasote
Copy link
Contributor

lasote commented May 21, 2019

This is nice, but from where it cames from?
Complete the docs, please.

@lasote lasote added this to the 1.16 milestone May 21, 2019
Copy link
Contributor

@lasote lasote left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add the docs

@@ -143,6 +143,8 @@ def new(self, *args):
parser.add_argument("-b", "--bare", action='store_true', default=False,
help='Create the minimum package recipe, without build() method. '
'Useful in combination with "export-pkg" command')
parser.add_argument("-m", "--template",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-m? -f meaning file maybe?

@memsharded memsharded merged commit 5bb2fee into conan-io:develop May 22, 2019
@memsharded memsharded deleted the feature/new_template branch May 22, 2019 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

conan new template recipes
2 participants