Skip to content

Commit 465ed6d

Browse files
committed
version 2.02
1 parent 4d73b93 commit 465ed6d

File tree

4 files changed

+58
-16
lines changed

4 files changed

+58
-16
lines changed

README.md

+26-14
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
* * *
66
cloc counts blank lines, comment lines, and physical lines of source code in many programming languages.
77

8-
Latest release: v2.00 (Feb. 17, 2024)
8+
Latest release: v2.02 (Aug. 2, 2024)
99

10-
<a href="https://github.com/AlDanial/cloc/graphs/contributors" alt="Contributors">
11-
<img src="https://img.shields.io/github/contributors/AlDanial/cloc" /></a>
12-
<a href="https://zenodo.org/badge/latestdoi/42029482">
13-
<img src="https://zenodo.org/badge/42029482.svg" alt="DOI"></a>
14-
<img src="https://img.shields.io/github/downloads/AlDanial/cloc/total.svg">
10+
[![Version](https://img.shields.io/badge/version-2.02-blue.svg)](https://github.com/AlDanial/cloc)
11+
[![Contributors](https://img.shields.io/github/contributors/AlDanial/cloc.svg)](https://github.com/AlDanial/cloc/graphs/contributors)
12+
[![DOI](https://zenodo.org/badge/doi/10.5281/zenodo.42029482.svg)](https://doi.org/10.5281/zenodo.42029482)
13+
[![Forks](https://img.shields.io/github/forks/AlDanial/cloc.svg)](https://github.com/AlDanial/cloc/network/members)
14+
[![Downloads](https://img.shields.io/github/downloads/AlDanial/cloc/total.svg)]()
1515

1616
cloc moved to GitHub in September 2015 after being hosted
1717
at http://cloc.sourceforge.net/ since August 2006.
@@ -65,8 +65,8 @@ Step 3: Invoke cloc to count your source files, directories, archives,
6565
or git commits.
6666
The executable name differs depending on whether you use the
6767
development source version (`cloc`), source for a
68-
released version (`cloc-2.00.pl`) or a Windows executable
69-
(`cloc-2.00.exe`).
68+
released version (`cloc-2.02.pl`) or a Windows executable
69+
(`cloc-2.02.exe`).
7070

7171
On this page, `cloc` is the generic term
7272
used to refer to any of these.
@@ -410,14 +410,14 @@ C:> cpan -i Regexp::Common
410410
C:> cpan -i Algorithm::Diff
411411
C:> cpan -i PAR::Packer
412412
C:> cpan -i Win32::LongPath
413-
C:> pp -M Win32::LongPath -M Encode::Unicode -M Digest::MD5 -c -x -o cloc-2.00.exe cloc-2.00.pl
413+
C:> pp -M Win32::LongPath -M Encode::Unicode -M Digest::MD5 -c -x -o cloc-2.02.exe cloc-2.02.pl
414414
</pre>
415415

416416
A variation on the instructions above is if you installed the portable
417417
version of Strawberry Perl, you will need to run `portableshell.bat` first
418418
to properly set up your environment.
419419

420-
The Windows executable in the Releases section, <tt>cloc-2.00.exe</tt>,
420+
The Windows executable in the Releases section, <tt>cloc-2.02.exe</tt>,
421421
was built on a 64 bit Windows 10 computer using
422422
[Strawberry Perl](http://strawberryperl.com/)
423423
5.30.2 and
@@ -439,6 +439,9 @@ executable and also check sites such
439439
https://www.virustotal.com/ .
440440
The entries for recent versions are:
441441

442+
cloc-2.02.exe:
443+
https://www.virustotal.com/gui/file/369ed76125f7399cd582d169adf39a2e08ae5066031fea0cc8b2836ea50e7ce2?nocache=1
444+
442445
cloc-2.00.exe:
443446
https://www.virustotal.com/gui/file/7a234ef0cb495de1b5776acf88c5554e2bab1fb02725a5fb85756a6db3121c1f
444447

@@ -1034,7 +1037,7 @@ Apex Class (cls)
10341037
Apex Trigger (trigger)
10351038
APL (apl, apla, aplc, aplf, apli, apln, aplo, dyalog, dyapp, mipage)
10361039
AppleScript (applescript)
1037-
Arduino Sketch (ino, pde)
1040+
Arduino Sketch (ino)
10381041
ArkTs (ets)
10391042
Arturo (art)
10401043
AsciiDoc (adoc, asciidoc)
@@ -1130,6 +1133,8 @@ GDScript (gd)
11301133
Gencat NLS (msg)
11311134
Glade (glade, ui)
11321135
Gleam (gleam)
1136+
Glimmer JavaScript (gjs)
1137+
Glimmer TypeScript (gts)
11331138
GLSL (comp, fp, frag, frg, fsh, fshader, geo, geom, glsl, glslv, gshader, tesc, tese, vert, vrx, vsh, vshader)
11341139
Go (go, ʕ◔ϖ◔ʔ)
11351140
Godot Resource (tres)
@@ -1190,6 +1195,7 @@ LLVM IR (ll)
11901195
Logos (x, xm)
11911196
Logtalk (lgt, logtalk)
11921197
Lua (lua, nse, p8, pd_lua, rbxs, wlua)
1198+
Luau (luau)
11931199
m4 (ac, m4)
11941200
make (am, Gnumakefile, gnumakefile, Makefile, makefile, mk)
11951201
Mako (mako, mao)
@@ -1199,9 +1205,10 @@ MATLAB (m)
11991205
Maven (pom, pom.xml)
12001206
Meson (meson.build)
12011207
Metal (metal)
1208+
Modelica (mo)
12021209
Modula3 (i3, ig, m3, mg)
1203-
Mojom (mojom)
12041210
Mojo (mojo, 🔥)
1211+
Mojom (mojom)
12051212
MSBuild script (btproj, csproj, msbuild, vcproj, wdproj, wixproj)
12061213
MUMPS (mps, m)
12071214
Mustache (mustache)
@@ -1210,6 +1217,7 @@ NAnt script (build)
12101217
NASTRAN DMAP (dmap)
12111218
Nemerle (n)
12121219
NetLogo (nlogo, nls)
1220+
Nickel (ncl)
12131221
Nim (nim, nim.cfg, nimble, nimrod, nims)
12141222
Nix (nix)
12151223
Nunjucks (njk)
@@ -1223,16 +1231,18 @@ Oracle Forms (fmt)
12231231
Oracle PL/SQL (bod, fnc, prc, spc, trg)
12241232
Oracle Reports (rex)
12251233
P4 (p4)
1226-
Pascal (dpr, lpr, p, pas, pascal)
1234+
Pascal (dpr, lpr, pas, pascal)
1235+
Pascal/Pawn (p)
12271236
Pascal/Puppet (pp)
12281237
Patran Command Language (pcl, ses)
1238+
Pawn (pawn, pwn)
12291239
PEG (peg)
12301240
peg.js (pegjs)
12311241
peggy (peggy)
12321242
Perl (ack, al, cpanfile, makefile.pl, perl, ph, plh, plx, pm, psgi, rexfile, pl, p6)
12331243
Pest (pest)
12341244
PHP (aw, ctp, phakefile, php, php3, php4, php5, php_cs, php_cs.dist, phps, phpt, phtml)
1235-
PHP/Pascal/Fortran (inc)
1245+
PHP/Pascal/Fortran/Pawn (inc)
12361246
Pig Latin (pig)
12371247
PL/I (pl1)
12381248
PL/M (lit, plm)
@@ -1242,6 +1252,7 @@ Pony (pony)
12421252
PowerBuilder (pbt, sra, srf, srm, srs, sru, srw)
12431253
PowerShell (ps1, psd1, psm1)
12441254
Prisma Schema (prisma)
1255+
Processing (pde)
12451256
ProGuard (pro)
12461257
Prolog (P, prolog, yap, pl, p6, pro)
12471258
Properties (properties)
@@ -1364,6 +1375,7 @@ XSLT (XSL, xsl, XSLT, xslt)
13641375
Xtend (xtend)
13651376
yacc (y, yacc)
13661377
YAML (clang-format, clang-tidy, gemrc, glide.lock, mir, reek, rviz, sublime-syntax, syntax, yaml, yaml-tmlanguage, yml, yml.mysql)
1378+
Yang (yang)
13671379
Zig (zig)
13681380
zsh (zsh)
13691381
</pre>

Unix/NEWS

+30
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,33 @@
1+
Release Notes for cloc version 2.02
2+
https://github.com/AlDanial/cloc
3+
Aug. 2, 2024
4+
5+
New Languages and File Types:
6+
o Arturo
7+
o Glimmer JavaScript
8+
o Glimmer TypeScript
9+
o Luau
10+
o Modelica
11+
o Mojo
12+
o Nickel
13+
o Pawn
14+
o Processing
15+
o Templ
16+
o Yang
17+
18+
Updates:
19+
o Support SQL output with --diff
20+
o Support counting in .git repo directories not owned by the user.
21+
o Eliminate the need to write temporary files when using --fmt.
22+
o Restore Dockerfile CI by fixing CPAN module setup that somehow stopped
23+
installing Parallel::ForkManager.
24+
o Improve handling of C comments in Go strings.
25+
26+
Bug fixes:
27+
o Improve --fmt output column alignments.
28+
o Handle --no-match when combined with --fullpath and --vcs.
29+
30+
============================================================================
131
Release Notes for cloc version 2.00
232
https://github.com/AlDanial/cloc
333
Feb. 17, 2024

Unix/cloc

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
# <http://www.gnu.org/licenses/gpl.txt>.
3030
#
3131
# 1}}}
32-
my $VERSION = "2.01"; # odd number == beta; even number == stable
32+
my $VERSION = "2.02"; # odd number == beta; even number == stable
3333
my $URL = "github.com/AlDanial/cloc"; # 'https://' pushes header too wide
3434
require 5.10.0;
3535
# use modules {{{1

cloc

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
# <http://www.gnu.org/licenses/gpl.txt>.
3030
#
3131
# 1}}}
32-
my $VERSION = "2.01"; # odd number == beta; even number == stable
32+
my $VERSION = "2.02"; # odd number == beta; even number == stable
3333
my $URL = "github.com/AlDanial/cloc"; # 'https://' pushes header too wide
3434
require 5.10.0;
3535
# use modules {{{1

0 commit comments

Comments
 (0)