Fix submodule compatibility: Remove version.c dependency and include cjson source files

- Remove nostr_core/version.c from Makefile LIB_SOURCES to fix submodule build failures
- Remove cjson/ from .gitignore and add cjson source files to repository
- Consolidate cJSON.h into cjson/ directory (remove duplicate from nostr_core/)
- Simplify build.sh versioning to only manage git tags and VERSION file
- Update examples/version_test.c to work without version functions
- Consumer projects can now use 'make' directly without missing file errors
This commit is contained in:
Laan Tungir 2025-08-14 16:40:34 -04:00
parent 2637378bf0
commit 77fadc2683
4 changed files with 3192 additions and 2 deletions

1
.gitignore vendored
View File

@ -1,5 +1,4 @@
Trash/ Trash/
cjson/
cline_history/ cline_history/
libsodium/ libsodium/
monocypher-4.0.2/ monocypher-4.0.2/

View File

@ -1 +1 @@
0.1.23 0.1.24

3191
cjson/cJSON.c Normal file

File diff suppressed because it is too large Load Diff