diff options
-rwxr-xr-x | update.py | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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) |