10 lines
279 B
Bash
Executable file
10 lines
279 B
Bash
Executable file
#!/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=-
|