Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ArthurSonzogni/nlohmann_json_cmake_fetchcontent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Iragne <nicoragne@hotmail.fr>2022-01-10 12:11:58 +0300
committerGitHub <noreply@github.com>2022-01-10 12:11:58 +0300
commit581a8f35283c3f9b72431bbb1241dfa0c5e02420 (patch)
treef60a12721c86496bb1b8a2c4a9986d91f52c1b45
parentbc42294cec869377e37b857b15b6017ebcba465b (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-xupdate.py7
1 files 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)