diff options
Diffstat (limited to 'docs/write_file_doc.md')
-rwxr-xr-x | docs/write_file_doc.md | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/docs/write_file_doc.md b/docs/write_file_doc.md index ecd96bd..d8f098e 100755 --- a/docs/write_file_doc.md +++ b/docs/write_file_doc.md @@ -1,7 +1,7 @@ ## write_file <pre> -write_file(<a href="#write_file-name">name</a>, <a href="#write_file-out">out</a>, <a href="#write_file-content">content</a>, <a href="#write_file-is_executable">is_executable</a>, <a href="#write_file-kwargs">kwargs</a>) +write_file(<a href="#write_file-name">name</a>, <a href="#write_file-out">out</a>, <a href="#write_file-content">content</a>, <a href="#write_file-is_executable">is_executable</a>, <a href="#write_file-newline">newline</a>, <a href="#write_file-kwargs">kwargs</a>) </pre> Creates a UTF-8 encoded text file. @@ -47,9 +47,20 @@ Creates a UTF-8 encoded text file. <td> optional. default is <code>False</code> <p> - A boolean. Whether to make the output file executable. When - True, the rule's output can be executed using `bazel run` and can be - in the srcs of binary and test rules that require executable sources. + A boolean. Whether to make the output file executable. + When True, the rule's output can be executed using `bazel run` and can + be in the srcs of binary and test rules that require executable + sources. + </p> + </td> + </tr> + <tr id="write_file-newline"> + <td><code>newline</code></td> + <td> + optional. default is <code>"auto"</code> + <p> + one of ["auto", "unix", "windows"]: line endings to use. "auto" + for platform-determined, "unix" for LF, and "windows" for CRLF. </p> </td> </tr> @@ -58,7 +69,7 @@ Creates a UTF-8 encoded text file. <td> optional. <p> - further keyword arguments, e.g. `visibility` + further keyword arguments, e.g. <code>visibility</code> </p> </td> </tr> |