Created
February 15, 2017 20:41
-
-
Save karoltheguy/b3fde88c627b66b749c6080b236bcd51 to your computer and use it in GitHub Desktop.
Count all lines of code using powershell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(dir -exclude *.g.cs,*.i.cs,*.designer.cs,assemblyinfo.cs,app.* -include *.cs,*.xaml -recurse | select-string .).Count | |
//Missing exclusion of empty lines and comments(?) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment