1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2026-08-18 10:22:31 +02:00

Add power shell script

This commit is contained in:
norbert-walter
2026-03-06 14:59:06 +01:00
parent bc1440c428
commit af9bca4d66
+12
View File
@@ -0,0 +1,12 @@
param([string]$dir = ".")
$total = 0
Get-ChildItem $dir -Recurse -Include *.c, *.cpp, *.h -File | ForEach-Object {
$lines = [System.IO.File]::ReadLines($_.FullName).Count
Write-Output "$($_.FullName) : $lines"
$total += $lines
}
Write-Output "-----------------------"
Write-Output "Over all files: $total"