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
|
mkdir release_files
|
||||||
gpg --armor --detach-sig include.zip
|
gpg --armor --detach-sig include.zip
|
||||||
gpg --armor --detach-sig $(AMALGAMATED_FILE)
|
gpg --armor --detach-sig $(AMALGAMATED_FILE)
|
||||||
|
gpg --armor --detach-sig $(AMALGAMATED_FWD_FILE)
|
||||||
gpg --armor --detach-sig json.tar.xz
|
gpg --armor --detach-sig json.tar.xz
|
||||||
cp $(AMALGAMATED_FILE) release_files
|
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
|
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()
|
if not meson.is_subproject()
|
||||||
install_headers('single_include/nlohmann/json.hpp', subdir: 'nlohmann')
|
install_headers('single_include/nlohmann/json.hpp', subdir: 'nlohmann')
|
||||||
|
install_headers('single_include/nlohmann/json_fwd.hpp', subdir: 'nlohmann')
|
||||||
|
|
||||||
pkgc = import('pkgconfig')
|
pkgc = import('pkgconfig')
|
||||||
pkgc.generate(name: 'nlohmann_json',
|
pkgc.generate(name: 'nlohmann_json',
|
||||||
|
@ -21,3 +21,6 @@ distribution:
|
|||||||
- source-file: "single_include/nlohmann/json.hpp"
|
- source-file: "single_include/nlohmann/json.hpp"
|
||||||
target-file: "json.hpp"
|
target-file: "json.hpp"
|
||||||
type: "source-code"
|
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