saker.standard Documentation TaskDoc JavaDoc Packages
Prepares the contents of a directory with the specified files. The task will create the configured directory hierarchy in the specified output location. It will delete any previous outputs in case of incremental builds and copy the specified files into it. The task can be used to prepare/create the application output hierarchy and allows testing, packaging, and other operations to be performed later. The ClearDirectory parameter can be used to control how existing files should be handled in case of incremental builds..
Summary
Parameters
ClearDirectorySpecifies whether or not existing files in the output directory should be removed or not.
Contents
Required parameter.
Specifies the input contents that should be placed in the output directory.
OutputSpecifies the output path of the contents.
Parameters
Specifies whether or not existing files in the output directory should be removed or not. If this parameter is set to true, the build task will remove all existing files from the output directory. If set to false, only files which were previously created by the task will be removed in case of incremental builds. The default value is false. In general keeping this parameter as false can help testing the application that you're developing as any additionally created files by the app will be persisted between builds. If you're creating release builds, then set this parameter to true to ensure that other leftover or stale files don't interfere with the build results.
Required parameter.
Specifies the input contents that should be placed in the output directory.
Specifies the output path of the contents. The output is a forward relative path that specifies the location in the build directory.