From 56fa2c4f85290ea0f11e5eec0f4844fc42eb668b Mon Sep 17 00:00:00 2001 From: Ezekiel Warren Date: Mon, 3 Jun 2024 08:17:21 -0700 Subject: [PATCH] chore: remove crlf line endings in bazel files --- .bazelignore | 8 ++++---- .bazelrc | 17 ++++++++-------- .bazelversion | 2 +- test/.bazelrc | 4 ++-- test/BUILD.bazel | 50 ++++++++++++++++++++++++------------------------ 5 files changed, 40 insertions(+), 41 deletions(-) diff --git a/.bazelignore b/.bazelignore index c9ae943fd..ebcd88fd7 100644 --- a/.bazelignore +++ b/.bazelignore @@ -1,5 +1,5 @@ -.git -.github -test -doc +.git +.github +test +doc cmake \ No newline at end of file diff --git a/.bazelrc b/.bazelrc index 2cf958492..fdbe3ceb9 100644 --- a/.bazelrc +++ b/.bazelrc @@ -1,9 +1,8 @@ -common --enable_bzlmod -build --enable_platform_specific_config -build --enable_runfiles -build --incompatible_strict_action_env - -common:ci --announce_rc -test:ci --test_output=errors -build:ci --curses=no - +common --enable_bzlmod +build --enable_platform_specific_config +build --enable_runfiles +build --incompatible_strict_action_env + +common:ci --announce_rc +test:ci --test_output=errors +build:ci --curses=no diff --git a/.bazelversion b/.bazelversion index 0c802546f..91e4a9f26 100644 --- a/.bazelversion +++ b/.bazelversion @@ -1 +1 @@ -6.3.2 +6.3.2 diff --git a/test/.bazelrc b/test/.bazelrc index 3ed287dbb..4a82bc1d7 100644 --- a/test/.bazelrc +++ b/test/.bazelrc @@ -1,2 +1,2 @@ -import %workspace%/../.bazelrc - +import %workspace%/../.bazelrc + diff --git a/test/BUILD.bazel b/test/BUILD.bazel index 75768feb8..f764e4ac4 100644 --- a/test/BUILD.bazel +++ b/test/BUILD.bazel @@ -1,25 +1,25 @@ -_TESTS = [ - "test", - "test_flags", -] - -_MSVC_FLAGS = ["/std:c++17", "/permissive-"] -_COPTS = select({ - "//conditions:default": ["-std=c++17"], - "@rules_cc//cc/compiler:msvc-cl": _MSVC_FLAGS, - "@rules_cc//cc/compiler:clang-cl": _MSVC_FLAGS, -}) -[cc_test( - name = test, - srcs = ["{}.cpp".format(test)], - deps = ["@magic_enum", ":catch2"], - copts = _COPTS, -) for test in _TESTS] - -# bazel central registry has a catch2 module, but is newer than the one included -# in this repository -cc_library( - name = "catch2", - includes = ["3rdparty/Catch2/include"], - hdrs = ["3rdparty/Catch2/include/catch2/catch.hpp"], -) +_TESTS = [ + "test", + "test_flags", +] + +_MSVC_FLAGS = ["/std:c++17", "/permissive-"] +_COPTS = select({ + "//conditions:default": ["-std=c++17"], + "@rules_cc//cc/compiler:msvc-cl": _MSVC_FLAGS, + "@rules_cc//cc/compiler:clang-cl": _MSVC_FLAGS, +}) +[cc_test( + name = test, + srcs = ["{}.cpp".format(test)], + deps = ["@magic_enum", ":catch2"], + copts = _COPTS, +) for test in _TESTS] + +# bazel central registry has a catch2 module, but is newer than the one included +# in this repository +cc_library( + name = "catch2", + includes = ["3rdparty/Catch2/include"], + hdrs = ["3rdparty/Catch2/include/catch2/catch.hpp"], +)