In bundle: saker.standard
Puts a file to the given file location.
The task takes the string Contents and writes them to the specified file location. It can be used to write a file directly from the build script.
Developers should take great care when using this task, as using the written file by other tasks can lead to concurrency errors and inconsistent builds. Generally, this task should be used to write a file as an output of the build and shouldn't be consumed by other tasks without additional task synchronization.
Summary
Parameters
Specifies the charset that should be used to encode the characters into bytes.
The default value is UTF-8.
Required parameter.
Specifies the string contents of the file.
The specified string contents will be written to the target file locaiton. The characters are encoded by the charset specified in the Charset parameter.Required parameter.
Specifies the location where the file contents should be written to.
The location may be an execution path or local file location.