|
|
@@ -4,13 +4,10 @@ DARKFID_JSONRPC = src/clients/darkfid_jsonrpc.md
|
|
|
|
|
|
all:
|
|
|
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)
|
|
|
+ for i in blockchain tx wallet misc; do \
|
|
|
+ echo "## $$i methods" >> $(DARKFID_JSONRPC);\
|
|
|
+ ./build_jsonrpc.py ../bin/darkfid2/src/rpc_$$i.rs >> $(DARKFID_JSONRPC);\
|
|
|
+ done
|
|
|
|
|
|
echo "# cashierd JSON-RPC API" > src/clients/cashierd_jsonrpc.md
|
|
|
./build_jsonrpc.py ../bin/cashierd/src/main.rs \
|