muddle/justfile
2026-10-23 08:53:07 -04:00

31 lines
No EOL
947 B
Makefile

set dotenv-load
set positional-arguments
default:
@just --list
test:
bun test ./tests
loc:
@echo "Loc: counting source lines in the codebase..."
@find . \
\( -name '*.ts' -o -name '*.scss' -o -name '*.sass' -o -name '*.md' \
-o -name '*.html' -o -name '*.toml' -o -name '*.js' -o -name '*.css' \) \
-not -path '*/node_modules/*' \
-not -path './editors/vscode/node_modules/*' \
-not -path './dist/*' \
-not -path './.git/*' \
-not -path '*/bun.lock' \
-not -path '*/.git/*' \
-not -path '*/.cache/*' \
-not -path '*/.next/*' \
-not -path '*/dist/*' \
-not -path '*/.vscode/*' \
-not -path '*/.idea/*' \
-not -path '*/ametrine/*' \
-not -path '*/tests/*' \
-not -path '*/README.md' \
-not -path './modules/amezing/*' \
-not -path './.opencode/*' \
| xargs wc -l | tail -n +2