Copy files during prepare, NEP1 conformance

This commit is contained in:
Ganesh Viswanathan 2018-06-11 09:42:41 -05:00
commit 4b91f1bbbe
3 changed files with 93 additions and 73 deletions

View file

@ -101,6 +101,8 @@ The following keys can be used to prepare dependencies such as downloading ZIP f
```execute``` = command to run during preparation
```copy``` = copy a file to another location. Preferred over moving to preserve original. Comma separate for multiple entries. E.g. copy = "output/config.h.in=output/config.h"
_[n.wildcard]_
File wildcards such as *.nim, ssl*.h, etc. can be used to perform tasks across a group of files. This is useful to define common operations such as global text replacements without having to specify an explicit section for every single file. These operations will be performed on every matching file that is defined as a _sourcefile_ or recursed files. Only applies on source files following the wildcard declarations.