Add workflow to check lines of code excluding tests
This commit is contained in:
7
.agent/workflows/loc.md
Normal file
7
.agent/workflows/loc.md
Normal file
@@ -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`
|
||||
Reference in New Issue
Block a user