Skip to content

Commit

Permalink
Add info on .conanignore (#3036)
Browse files Browse the repository at this point in the history
* Add info on .conanignore

* Add missing point
  • Loading branch information
AbrilRBS authored Feb 28, 2023
1 parent 876ab64 commit 959c5bb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions reference/commands/config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,12 @@ All the configuration files can be shared and installed this way:
- All the extensions, including plugins, hooks.
- Custom user commands.

This command reads a ``.conanignore`` file which, if present, filters which files and folders
are copied over to the user's Conan home folder.
This file uses `fnmatch <https://docs.python.org/3/library/fnmatch.html>`_ patterns
to match over the folder contents, excluding those entries that match from the config installation.
See `conan-io/command-extensions's .conanignore <https://github.com/conan-io/command-extensions/blob/main/.conanignore>`_ for an example of such a file.


**Examples**:

Expand Down

0 comments on commit 959c5bb

Please sign in to comment.