summaryrefslogtreecommitdiff
path: root/scripts/line_count.sh
blob: 83b89bb29566d4396c227ada48a930b3706ed3ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /usr/bin/env sh
export LC_ALL="C"
find ./src ./scripts ./env -type f \
  -not -path "*__pycache__*" \
  -not -path "./env/nixpkgs-patches/*" \
  -not -path "./src/fruits/cmv/icon.*" \
  -not -path "./src/fruits/droid/*" \
  -not -path "./src/portal/cpy/portal.c" \
  -not -path "./src/portal/cpy/portal.h" \
  -not -path "./src/portal/patches/*" \
  -not -path "./src/portal/py/tests/*" \
  -not -path "./src/portal/vendor/*" \
  -not -path "./src/render/shaders/*.glsl" \
  -exec sloccount {} +

#-exec sed -i 's///g' {} +