Follow-up from discussion in PR #2, this PR allows an (optional) .examples file to specify one or more folders containing the examples. It enables the tool to be used by projects using other conventions than the hardwired ones (examples and samples).
If the .examples file does not exist, then the behaviour is the same as now (assuming conventional folders).
If the .examples file exists then it is parsed according to the following format:
each line of the file specifies a path relative to the file itself
blank lines are ignored
lines starting with # are ignored and therefore can be used for comments
Follow-up from discussion in PR #2, this PR allows an (optional)
.examples
file to specify one or more folders containing the examples. It enables the tool to be used by projects using other conventions than the hardwired ones (examples
andsamples
).If the
.examples
file does not exist, then the behaviour is the same as now (assuming conventional folders).If the
.examples
file exists then it is parsed according to the following format:#
are ignored and therefore can be used for commentsPaths are trimmed before use.
This PR renders PR #2 obsolete.