Vocabulary
vocabs.metadata

Inputs
vocaba vocabulary specifier


Outputs
patternsa sequence of glob patterns


Word description
Outputs a list of glob patterns matching files that will be deployed with an application that includes vocab, as specified by the resources.txt file in the vocabulary's directory. Outputs an empty array if the file doesn't exist.

Notes
The vocabs.metadata.resources vocabulary contains words that will expand the glob patterns and directory names in patterns and return all the matching files.

Definition

: vocab-resources ( vocab -- patterns )
"resources.txt" vocab-file-lines ;