2
0
Fork 0
mirror of https://github.com/bazelbuild/bazel-skylib synced 2024-11-29 09:35:55 +00:00
bazel-skylib/rules
László Csomor 6bf6443975
write_file: support different line endings (#150)
The user can specify which line endings they want
write_file to use. This helps avoiding line ending
mismatches with diff_test.

Example: diff_test verifies that a rule generates
correct output by comparing it to a checked-in
"golden" file. Both files are text files, and the
user builds on Windows but the golden file was
written on Linux and git checkout preserved
original line endings.

Without explicitly specifying which line endings
to use, this diff_test would fail on an otherwise
good output.

With explicit line endings we don't need to check
in the golden file to git, we can just generate it
with "auto" line endings.
2019-05-09 15:29:44 +02:00
..
private write_file: support different line endings (#150) 2019-05-09 15:29:44 +02:00
analysis_test.bzl Minor formatting changes plus doc updates (#147) 2019-05-08 16:34:47 +02:00
BUILD diff_test: add rule and tests (#136) 2019-04-12 13:35:29 -04:00
build_test.bzl add documentation pages for rules/ and lib/ (#119) 2019-02-28 17:43:57 -05:00
copy_file.bzl maprule: hide it, not ready for public use. (#133) 2019-03-20 18:13:32 +01:00
diff_test.bzl Fix a number of misc issues to allow google usage of bazel-skylib (#146) 2019-05-07 16:25:43 -04:00
empty_test.sh Add a build_test rule. (#97) 2019-01-25 14:34:15 -05:00
write_file.bzl maprule: hide it, not ready for public use. (#133) 2019-03-20 18:13:32 +01:00