#!/bin/sh
# Count the source lines.

find . '(' ! -path "./node_modules/**" ')' \
  -and '(' ! -path "./.git/**" ')' \
  -and '(' ! -path "./*dist/**" ')' \
  -and '(' ! -path "./bun.lockb" ')' \
  -and '(' ! -path "./docs/**" ')' \
  -type f -print0 \
  | wc -l --files0-from=-