CreateZip is used to create a zip file from a directory on the file system.
Slots
- filterSource
-
This function is called on each file under
inDir
; if true returned it is included in the zip, if false then it is excluded. Returning false for a directory will skip recursing the entire directory. - inDirSource
-
File inDir
Directory to zip up. The contents of this dir are recursively zipped up with zip paths relative to this root directory.
- makeSource
-
new make(BuildScript script)
- outFileSource
-
File outFile
Output zip file to create
- runSource
-
override Void run()
Overrides build::Task.run
Doc inherited from build::Task.run
Run this task. If there is an error, the report them via the script's log and throw FatalBuildErr if the script should be terminated.