damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

copy-ndb (594B)


      1 #!/usr/bin/env bash
      2 
      3 rm -rf flatcc bindings
      4 mkdir -p flatcc
      5 cp ~/src/c/nostrdb/nostrdb.{c,h} .
      6 cp ~/src/c/nostrdb/{jsmn,threadpool,protected_queue,memchr,util}.h .
      7 cp ~/src/c/nostrdb/deps/lmdb/{lmdb,midl}.h .
      8 cp ~/src/c/nostrdb/deps/lmdb/mdb.c .
      9 cp ~/src/c/nostrdb/deps/lmdb/midl.c .
     10 cp -r ~/src/c/nostrdb/deps/flatcc/include/flatcc/* flatcc
     11 cp ~/src/c/nostrdb/deps/flatcc/src/runtime/* flatcc
     12 cp -r ~/src/c/nostrdb/bindings .
     13 #patch -p2 < flatcc.patch
     14 sed -i"" 's,import FlatBuffers,,' bindings/swift/NdbProfile.swift
     15 sed -i"" 's,^#include "flatcc/,#include ",g' bindings/c/*.h flatcc/*.{c,h}