Browse Source

use cJSON instead of jsmn for parsing JSON

master
Shokara 4 months ago
parent
commit
b11c5fe03e
Signed by: shokara GPG Key ID: 7F5702DEF8E6DC82
  1. 3
      .gitmodules
  2. 10
      README
  3. 1
      cJSON

3
.gitmodules

@ -0,0 +1,3 @@
[submodule "cJSON"]
path = cJSON
url = https://github.com/DaveGamble/cJSON

10
README

@ -18,9 +18,9 @@ TODO
Dependencies
------------
- a C89 compiler
- curl (downloading the files)
- jsmn (for parsing json, pulled as a submodule)
- git (for fetching source code)
- curl
- cJSON (available as a git submodule if it's not in your ports/packages)
- git
For running Minecraft:
- java
@ -30,8 +30,8 @@ Compiling/Installing
--------------------
git clone https://gt.kalli.st/shokara/somc
cd somc
git submodule update --init --recursive
# edit config.mk
git submodule update --init --recursive # if cJSON isn't installed
# edit config.mk if necessary
make
make install

1
cJSON

@ -0,0 +1 @@
Subproject commit 324a6ac9a9b285ff7a5a3e5b2071e3624b94f2db