Condition is a special command that executes other commands only if some condition happens.
- Calculates hash of all files in the directory recursively at the beginning
of the processing this .render.yaml file. Then the hashsum is checked
!Conditionis encountered and if hashsum changed
commandsare executed, otherwise they are silently skipped.
- List of commands to execute when condition is true. All the same commands
suported except the
Cleans files by pattern, keeping only ones listed.
Filename pattern to check. This supports basic glob syntax plus any part of path can be captured like in regular expression. This means that only parenthised part is matched against keep list, and only files that match glob are removed.
Few pattern examples:
keep-listcontains file names without extension
/dir/(*.conf), same but
keep-listcontains filenames with extension
*.confrecursively, where keep list contains relative path (without
- Filename of the file which lists names which should be kept. Each
line represents single name. The contents of each line matched against
thing captured in
pattern(see above). No comments or escaping is supported, empty lines are ignored.