mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-08 22:28:12 -05:00
book: Build RPC docs for darkfid2.
This commit is contained in:
13
doc/Makefile
13
doc/Makefile
@@ -1,9 +1,16 @@
|
||||
.POSIX:
|
||||
|
||||
DARKFID_JSONRPC = src/clients/darkfid_jsonrpc.md
|
||||
|
||||
all:
|
||||
echo "# darkfid JSON-RPC API" > src/clients/darkfid_jsonrpc.md
|
||||
./build_jsonrpc.py ../bin/darkfid/src/main.rs \
|
||||
>> src/clients/darkfid_jsonrpc.md
|
||||
echo "# darkfid JSON-RPC API" > $(DARKFID_JSONRPC)
|
||||
./build_jsonrpc.py ../bin/darkfid2/src/main.rs >> $(DARKFID_JSONRPC)
|
||||
echo "## blockchain methods" >> $(DARKFID_JSONRPC)
|
||||
./build_jsonrpc.py ../bin/darkfid2/src/rpc_blockchain.rs >> $(DARKFID_JSONRPC)
|
||||
echo "## wallet methods" >> $(DARKFID_JSONRPC)
|
||||
./build_jsonrpc.py ../bin/darkfid2/src/rpc_wallet.rs >> $(DARKFID_JSONRPC)
|
||||
echo "## miscellaneous methods" >> $(DARKFID_JSONRPC)
|
||||
./build_jsonrpc.py ../bin/darkfid2/src/rpc_misc.rs >> $(DARKFID_JSONRPC)
|
||||
|
||||
echo "# cashierd JSON-RPC API" > src/clients/cashierd_jsonrpc.md
|
||||
./build_jsonrpc.py ../bin/cashierd/src/main.rs \
|
||||
|
||||
Reference in New Issue
Block a user