Installation can be done using Visual Studio MarketPlace.
Source code can be found on GitHub.
This build step is counting your lines of code with using the cloc CLI. The result is reported as a section on the build summary page.
Add the task to your build configuration:
Arguments have to be specified:
By default the cloc CLI is running in the root of the repository, you can modify that in the advanced settings as the working folder task parameter:
By default the cloc CLI is downloaded from the url: https://github.com/AlDanial/cloc/releases/download/1.82/cloc-1.82.exe
:
But now file shares and local files are supported to such as:
file://my-file-share/public/software/cloc-1.82.exe
or
./cloc.1.82.exe
file://my-file-share/public/software/cloc-1.82.exe
or local file path as ./cloc.1.82.exe