mirror of
https://github.com/nlohmann/json.git
synced 2026-04-03 06:38:53 +00:00
📝 overworked documentation wrt. amalgamation #906
This commit is contained in:
4
Makefile
4
Makefile
@@ -32,7 +32,7 @@ all:
|
||||
@echo "amalgamate - amalgamate file src/json.hpp from the develop sources"
|
||||
@echo "ChangeLog.md - generate ChangeLog file"
|
||||
@echo "check - compile and execute test suite"
|
||||
@echo "check-amalagamation - check whether sources have been amalgamated"
|
||||
@echo "check-amalgamation - check whether sources have been amalgamated"
|
||||
@echo "check-fast - compile and execute test suite (skip long-running tests)"
|
||||
@echo "clean - remove built files"
|
||||
@echo "coverage - create coverage information with lcov"
|
||||
@@ -258,7 +258,7 @@ src/json.hpp: $(SRCS)
|
||||
$(MAKE) pretty
|
||||
|
||||
# check if src/json.hpp has been amalgamated from the develop sources
|
||||
check-amalagamation:
|
||||
check-amalgamation:
|
||||
@mv src/json.hpp src/json.hpp~
|
||||
@$(MAKE) amalgamate
|
||||
@diff src/json.hpp src/json.hpp~ || (echo "===================================================================\n Amalgamation required! Please read the contribution guidelines\n in file .github/CONTRIBUTING.md.\n===================================================================" ; mv src/json.hpp~ src/json.hpp ; false)
|
||||
|
||||
Reference in New Issue
Block a user