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

'conan new', doc the 'package_name' variable #1663

Merged
merged 2 commits into from
Apr 14, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 3 additions & 2 deletions reference/commands/creator/new.rst
Original file line number Diff line number Diff line change
Expand Up @@ -103,5 +103,6 @@ Creates a new package recipe template with a 'conanfile.py' and optionally,
name = "{{name}}"
version = "{{version}}"

Where ``name`` and ``version`` placeholders are defined from the command line, and ``package_name`` is a camel case
variant of the package ``name``.
Where ``name`` and ``version`` placeholders are defined from the command line, and ``package_name`` is a *CamelCase*
variant of the name: any valid Conan package name like ``package_name``, ``package+name``, ``package.name`` or
``package-name`` will be converted into a suitable name for a Python class, ``PackageName``.