mirror of
https://github.com/nlohmann/json.git
synced 2024-11-27 16:49:02 +08:00
Add amalgamated json-fwd.hpp to release (#3687)
* 🔧 add amalgamated json-fwd.hpp to release * 🔧 add amalgamated json-fwd.hpp to package managers
This commit is contained in:
parent
d79d12f854
commit
e1a3fb74ba
4
Makefile
4
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
|
||||
|
||||
|
||||
|
@ -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',
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user