saker.standard Documentation TaskDoc JavaDoc Packages
Resolves one or more wildcard patterns to file paths on the local file system. The task will discover all files that are matched by the specified Wildcard argument. It returns a FileCollection thta contains the local paths. The result can be passed to tasks which support it. As tasks generally support wildcard inputs with execution files, this can be useful to pass local input files to tasks using wildcards. The returned object can be iterated over using foreach loops. The actual paths of files can be accessed using the LocalPath field on the returned elements. The task wildcards match files and directories both. This task is similar to std.file.wildcard() but operates on local files.
Summary
Parameters
DirectoryThe absolute directory local path to resolve relative wildcards against.
Wildcard
Required parameter.
One or more wildcards to resolve.
Parameters
The absolute directory local path to resolve relative wildcards against. If this argument is relative, an exception is thrown.
Collection of WildcardPath
Aliases:
Wildcards
Required parameter.
One or more wildcards to resolve. Relative wildcards will be resolved against the optional Directory argument. If a wildcard is relative, and no Directory argument is specified, it will most likely discover no files. The current working directory of the build process is not considered.