I just found http://gruntjs.com/configuring-tasks#globbing-patterns, which is the most helpful reference I've found.
I keep seeing:
For more on glob pattern syntax, see the node-glob and minimatch documentation.
Yet, I can't seem to find an exhaustive list of the syntax/usage. These tests might be the best reference, yet still not particularly easy to decipher.
It seems I must be missing some critical source of documentation.
I'm wondering the differences between:
path
path/
path/*
path/*.*
path/**
path/**/
path/**/*
path/**/*.*
and any other important variations that are related that I might have omitted. I'm guessing this applies differently when doing a node-glob
style matching ('public/**/*.*'
) and a .gitignore
(node_modules
), because in the former, you need to explicitly include everything, many layers deep, and in gitignore, this is handled automatically by ignoring any directory. Is this correct?