From bb494a32d77b4f36473bece91cfaf8cf17c4bc07 Mon Sep 17 00:00:00 2001 From: Alexandre Conrad Date: Mon, 24 Aug 2015 20:42:26 -0700 Subject: document +dot+ for dotfiles in scaffolds --- docs/narr/scaffolding.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/narr/scaffolding.rst b/docs/narr/scaffolding.rst index f924d0d62..4fcdeb537 100644 --- a/docs/narr/scaffolding.rst +++ b/docs/narr/scaffolding.rst @@ -57,6 +57,11 @@ As you create files and directories within the template directory, note that: have that string replaced with the value of the ``var`` variable provided to the scaffold. +- Files that start with a dot (e.g., ``.env``) are ignored and will not be + copied over to the destination directory. If you want to include a file with + a leading dot then you must replace the dot with ``+dot+`` (e.g., + ``+dot+env``). + Otherwise, files and directories which live in the template directory will be copied directly without modification to the ``pcreate`` output location. -- cgit v1.2.3