Skip to content

Commit

Permalink
AU: 1 updated - cloc
Browse files Browse the repository at this point in the history
  • Loading branch information
dgalbraith committed Jan 22, 2021
1 parent 151d001 commit 0881648
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion automatic/cloc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![Software license](https://img.shields.io/badge/License-GPLv2-blue.svg)](https://github.com/AlDanial/cloc/blob/master/LICENSE)
[![Maintenance status](https://img.shields.io/badge/maintained%3F-yes-green.svg)](https://gitHub.com/dgalbraith/chocolatey-packages/graphs/commit-activity)
[![AppVeyor build](https://img.shields.io/appveyor/ci/dgalbraith/chocolatey-packages)](https://ci.appveyor.com/project/dgalbraith/chocolatey-packages)
[![Software version](https://img.shields.io/badge/Source-v1.86-blue.svg)](https://github.com/AlDanial/cloc/releases/tag/1.86)
[![Software version](https://img.shields.io/badge/Source-v1.88-blue.svg)](https://github.com/AlDanial/cloc/releases/tag/1.88)
[![Chocolatey package version](https://img.shields.io/chocolatey/v/cloc?label=Chocolatey)](https://chocolatey.org/packages/cloc)

cloc counts blank lines, comment lines, and physical lines of source code in many programming languages. Given two
Expand Down
4 changes: 2 additions & 2 deletions automatic/cloc/cloc.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>cloc</id>
<version>1.86</version>
<version>1.88</version>
<packageSourceUrl>https://github.com/dgalbraith/chocolatey-packages/tree/master/automatic/cloc</packageSourceUrl>
<owners>dgalbraith</owners>
<title>Count Lines of Code (CLOC)</title>
Expand Down Expand Up @@ -54,7 +54,7 @@ OpenBSD, Mac OS X, AIX, HP-UX, Solaris, IRIX, z/OS, and Windows.
If you find it is out of date by more than a day or two, please contact the maintainer(s) and let them know the package is no longer updating correctly.
]]></description>
<releaseNotes>https://github.com/AlDanial/cloc/releases/download/1.86/release_notes-1.86.txt</releaseNotes>
<releaseNotes>https://github.com/AlDanial/cloc/releases/download/1.88/release_notes-1.88.txt</releaseNotes>
</metadata>
<files>
<file src="legal\**" target="legal" />
Expand Down
12 changes: 6 additions & 6 deletions automatic/cloc/legal/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@ be verified by:

https://github.com/AlDanial/cloc/releases/

and download the file cloc-1.86.exe using the links on the page.
and download the file cloc-1.88.exe using the links on the page.

Alternatively the file can be downloaded directly from

https://github.com/AlDanial/cloc/releases/download/1.86/cloc-1.86.exe
https://github.com/AlDanial/cloc/releases/download/1.88/cloc-1.88.exe

2. The archive can be validated by comparing checksums
- Use powershell function 'Get-Filehash' - Get-Filehash -Algorithm sha256 cloc-1.86.exe
- Use chocolatey utility 'checksum.exe' - checksum -t sha256 -f cloc-1.86.exe
- Use powershell function 'Get-Filehash' - Get-Filehash -Algorithm sha256 cloc-1.88.exe
- Use chocolatey utility 'checksum.exe' - checksum -t sha256 -f cloc-1.88.exe

File: cloc-1.86.exe
File: cloc-1.88.exe
Type: sha256
Checksum: 1B2E189DF1834411B34534DB446330D1C379B4BC008AF3042EE9ADE818C6A1C8
Checksum: 97D5D2631D1CCCDBFD99267AB8A4CF5968816BBE52C0F9324E72E768857F642D


Contents of file LICENSE.txt is obtained from https://github.com/AlDanial/cloc/blob/master/LICENSE
2 changes: 1 addition & 1 deletion automatic/cloc/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Remove-Item -Path $legacy -Force -ErrorAction SilentlyContinue | Out-Null

$binArgs = @{
name = $env:ChocolateyPackageName
path = "$toolsDir\cloc-1.86.exe"
path = "$toolsDir\cloc-1.88.exe"
}

Install-BinFile @binArgs
2 changes: 1 addition & 1 deletion automatic/cloc/tools/chocolateyUninstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

$binArgs = @{
name = $env:ChocolateyPackageName
path = "$toolsDir\cloc-1.86.exe"
path = "$toolsDir\cloc-1.88.exe"
}

Remove-BinFile @binArgs

0 comments on commit 0881648

Please sign in to comment.