path_classifiers:
  docs:
    - "exclude: /"
    - "contrib"
    - "share"
    - "ZNODE.md"
  generated:
    - "exclude: /"
    - "src/obj"
    - "src/qt/moc_*.cpp"
  library:
    - "exclude: /"
    - "src/leveldb"
    - "src/libexecstream"
    - "src/tor"
  template:
    - "exclude: /"
    - "qa/pull-tester/run-bitcoind-for-test.sh.in"
    - "src/qt/forms"
  test:
    - "exclude: /"
    - "src/**/*_tests.cpp"
queries:
  - include: "*"
extraction:
  cpp:
    prepare:
      packages:
        - asciidoc-base
        - bsdmainutils
        - lcov
        - libboost-all-dev
        - libbz2-dev
        - libcap-dev
        - libdb5.3-dev
        - libdb5.3++-dev
        - libevent-dev
        - libminiupnpc-dev
        - libnacl-dev
        - libprotobuf-dev
        - libqrencode-dev
        - libseccomp-dev
        - libssl-dev
        - libzmq3-dev
        - protobuf-compiler
        - qtbase5-dev
        - qttools5-dev-tools
        - bison
    configure:
      command:
        - cd depends && make -j`nproc` HOST=x86_64-linux-gnu && cd ..
        - ./autogen.sh
        - ./configure --with-incompatible-bdb --prefix=`pwd`/depends/x86_64-linux-gnu
    index:
      build_command:
        - make -j`nproc`
