From 4ca932e11c783f8734a6d6dfa96aa625396a1e1a Mon Sep 17 00:00:00 2001 From: Peter Stockings Date: Wed, 7 Jan 2026 16:52:07 +1100 Subject: [PATCH] Add workflow to check lines of code excluding tests --- .agent/workflows/loc.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .agent/workflows/loc.md diff --git a/.agent/workflows/loc.md b/.agent/workflows/loc.md new file mode 100644 index 0000000..90b9aa6 --- /dev/null +++ b/.agent/workflows/loc.md @@ -0,0 +1,7 @@ +--- +description: Count lines of TypeScript source code excluding tests +--- + +// turbo-all +1. Count TypeScript lines excluding tests: `(Get-ChildItem -Recurse -Include *.ts -Exclude *.test.ts,*.spec.ts -Path . | Where-Object { $_.FullName -notmatch '\\node_modules\\' } | Get-Content | +Measure-Object -Line).Lines` \ No newline at end of file