Add filter that excludes files from publish dependency list
| <viz:res>.addPublishFilter( | |
| filter |
)
filter
A pattern string or callback function for filtering files. All filenames that match the pattern string will be excluded from the published EXE.
If a callback function is specified, then the callback function will be passed a filename and the function should return True if the file should be filtered out (excluded) or False if the file should be included.
This command allows you to specify a filter for excluding certain files from the publish dependency list. The filter will be applied after the script exits and all dependencies have been determined.
None
<viz:res>.addPublishDirectory
<viz:res>.addPublishFile
<viz:res>.addPublishFileLoader
<viz:res>.getPublishedPath