From 55e16a449f00a51c64acd085ab12d3c88dddc547 Mon Sep 17 00:00:00 2001 From: Vertexwahn Date: Tue, 15 Aug 2023 20:19:16 +0200 Subject: [PATCH] Bazel: Improve support for bzlmod --- .gitignore | 3 +++ MODULE.bazel | 5 +++++ 2 files changed, 8 insertions(+) create mode 100644 MODULE.bazel diff --git a/.gitignore b/.gitignore index 30b62bfcf..09d625d12 100644 --- a/.gitignore +++ b/.gitignore @@ -39,3 +39,6 @@ /localhost.pem /localhost-key.pem /serve_header.yml + +# Ignore Bazel generated files +bazel-* diff --git a/MODULE.bazel b/MODULE.bazel new file mode 100644 index 000000000..de9dcb29a --- /dev/null +++ b/MODULE.bazel @@ -0,0 +1,5 @@ +module( + name = "nlohmann_json", + version = "3.11.2", # Keep in sync with NLOHMANN_JSON_VERSION_MAJOR, NLOHMANN_JSON_VERSION_MINOR, NLOHMANN_JSON_VERSION_PATCH + compatibility_level = 1, +)