momentic.config.yaml (e.g. include, exclude) to
choose which .test.yaml and .module.yaml files Momentic discovers.
Patterns
| Pattern | Matches |
|---|---|
* | All files in the current directory |
** | All files and subdirectories recursively |
some-dir/ | The some-dir directory and its contents |
some-dir | A file named some-dir, or the some-dir directory |
some-dir* | Files and directories starting with some-dir |
*.js | All .js files in the current directory |
!pattern | Negates a glob (automatically appends /**) |
Examples
| Pattern | Matches |
|---|---|
dist/** | Everything under dist/ |
dist/ | dist/ and its contents |
dist | A file named dist, or the dist directory |
dist/some-dir/** | Everything under dist/some-dir/ |
!dist | Ignores dist/ and its contents |
dist* | Files and directories starting with dist |
dist/*.js | .js files directly in dist/ |
!dist/*.js | Ignores .js files directly in dist/ |
dist/**/*.js | All .js files under dist/ recursively |
../scripts/** | Everything under a sibling scripts/ directory |