nostrdb

an unfairly fast embedded nostr database backed by lmdb
git clone git://jb55.com/nostrdb
Log | Files | Refs | Submodules | README | LICENSE

bfbs-sample.sh (345B)


      1 #!/bin/sh
      2 
      3 cd $(dirname $0)/..
      4 builddir=build/Debug
      5 bfbsdir=$builddir/test/reflection_test/generated/
      6 
      7 if [ ! -e $bfbsdir/monster_test.bfbs ]; then
      8     scripts/test.sh
      9 fi
     10 
     11 $builddir/samples/reflection/bfbs2json_d \
     12     $bfbsdir/monster_test.bfbs > $bfbsdir/monster_test_bfbs.json
     13 
     14 cat $bfbsdir/monster_test_bfbs.json \
     15     | python -m json.tool