github AlDanial/cloc v2.08

4 hours ago

New Languages and File Types:

  • Activiti Business Process
  • Aria
  • AXAML
  • Bicep
  • BitBake
  • Clarity
  • Haskell Boot
  • Hibernate
  • JSP Tag Library Definition
  • Jasper Report XML/Template
  • Justfile
  • Liquibase
  • Magik
  • VSCode Workspace
  • Yarn

Updates:

  • Support input through process substitution on Unix-like operating systems (example: cloc <(git diff HEAD~1 HEAD --name-only) )
  • Improve Perl filter for POD (plain old documentation) handling.
  • --quiet now suppresses all informational output including error messages unless new switch --show-errors is also given.
  • Add .cts extension for TypeScript.
  • Renamed "VB for Applications" to "VBA"
  • Add .vbhtml extension for Visual Basic .NET
  • Renamed "Visual Basic Script" to "VBScript"
  • New switch --include-submodules (applies to --vcs=git) to include git submodule files in the count.
  • Revert back to manual build of Windows executable to avoid issues with symlinks seen with winget on executables created in Github Actions.

Bug fixes:

  • Handle empty files when using --git --diff.
  • Replace "Nothing to count." output with valid formatted output (JSON, etc) when no files are found to count.
  • Fix language definition parse errors with --read-lang-def, --force-lang-def (specifically, update matching regex to allow leading '.' as in .NET)

Don't miss a new cloc release

NewReleases is sending notifications on new releases.