diff options
author | Nicolas Iragne <nicoragne@hotmail.fr> | 2022-01-10 12:11:58 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-10 12:11:58 +0300 |
commit | 581a8f35283c3f9b72431bbb1241dfa0c5e02420 (patch) | |
tree | f60a12721c86496bb1b8a2c4a9986d91f52c1b45 | |
parent | bc42294cec869377e37b857b15b6017ebcba465b (diff) |
Add natvis file to update.py && fix some typos (#12)old-branch-3
* Add natvis file to update.py && fix typo
* Add missing spaces
Co-authored-by: Nicolas IRAGNE <nicolas.iragne@alyce.fr>
-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) |