From e1a3fb74bad8bc968187181bde7069a1d442410e Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Sun, 7 Aug 2022 20:33:34 +0200 Subject: [PATCH] Add amalgamated json-fwd.hpp to release (#3687) * :wrench: add amalgamated json-fwd.hpp to release * :wrench: add amalgamated json-fwd.hpp to package managers --- Makefile | 4 +++- meson.build | 1 + wsjcpp.yml | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8e8c654a0..18b08a51a 100644 --- a/Makefile +++ b/Makefile @@ -232,9 +232,11 @@ release: include.zip json.tar.xz mkdir release_files gpg --armor --detach-sig include.zip gpg --armor --detach-sig $(AMALGAMATED_FILE) + gpg --armor --detach-sig $(AMALGAMATED_FWD_FILE) gpg --armor --detach-sig json.tar.xz cp $(AMALGAMATED_FILE) release_files - mv $(AMALGAMATED_FILE).asc json.tar.xz json.tar.xz.asc include.zip include.zip.asc release_files + cp $(AMALGAMATED_FWD_FILE) release_files + mv $(AMALGAMATED_FILE).asc $(AMALGAMATED_FWD_FILE).asc json.tar.xz json.tar.xz.asc include.zip include.zip.asc release_files cd release_files ; shasum -a 256 json.hpp include.zip json.tar.xz > hashes.txt diff --git a/meson.build b/meson.build index 005e98ef2..b13f64b01 100644 --- a/meson.build +++ b/meson.build @@ -14,6 +14,7 @@ nlohmann_json_multiple_headers = declare_dependency( if not meson.is_subproject() install_headers('single_include/nlohmann/json.hpp', subdir: 'nlohmann') +install_headers('single_include/nlohmann/json_fwd.hpp', subdir: 'nlohmann') pkgc = import('pkgconfig') pkgc.generate(name: 'nlohmann_json', diff --git a/wsjcpp.yml b/wsjcpp.yml index 04648019c..4b8b661d9 100644 --- a/wsjcpp.yml +++ b/wsjcpp.yml @@ -21,3 +21,6 @@ distribution: - source-file: "single_include/nlohmann/json.hpp" target-file: "json.hpp" type: "source-code" + - source-file: "single_include/nlohmann/json_fwd.hpp" + target-file: "json_fwd.hpp" + type: "source-code"