From 581a8f35283c3f9b72431bbb1241dfa0c5e02420 Mon Sep 17 00:00:00 2001 From: Nicolas Iragne Date: Mon, 10 Jan 2022 10:11:58 +0100 Subject: Add natvis file to update.py && fix some typos (#12) * Add natvis file to update.py && fix typo * Add missing spaces Co-authored-by: Nicolas IRAGNE --- update.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/update.py b/update.py index e55e6ac..ed8a928 100755 --- a/update.py +++ b/update.py @@ -42,15 +42,16 @@ for tag, url, body in release_url_map[::-1]: os.system("cp -rf ./tmp/CMakeLists.txt .") os.system("cp -rf ./tmp/meson.build .") os.system("cp -rf ./tmp/LICENSE.MIT .") + os.system("cp -rf ./tmp/nlohmann_json.natvis .") os.system("rm -rf ./tmp") os.makedirs('./cmake', mode=0o777, exist_ok=True) os.makedirs('./test', mode=0o777, exist_ok=True) with open("./cmake/ci.cmake", "w") as f: f .write("message(FATAL_ERROR \"The JSON_CI option is not available" \ - "when using the nlohmann_json_cmake_fetchcontent repository.\")") + " when using the nlohmann_json_cmake_fetchcontent repository.\")") with open("./test/CMakeLists.txt", "w") as f: - f.write("message(FATAL_ERROR \"The JSON_CI option is not available" \ - "when using the nlohmann_json_cmake_fetchcontent repository.\")") + f.write("message(FATAL_ERROR \"The JSON_BuildTests option is not available" \ + " when using the nlohmann_json_cmake_fetchcontent repository.\")") os.system("git add .") else: os.makedirs('./include', mode=0o777, exist_ok=True) -- cgit v1.2.3