I hereby claim:
- I am wekempf on github.
- I am wekempf (https://keybase.io/wekempf) on keybase.
- I have a public key ASDdOwvZPsFUTTghCnHrmhge9H5tpc2J7XqR2q8YvYTXAAo
To claim this, I am signing this object:
| using System; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using System.Globalization; | |
| using System.Linq; | |
| using System.Text; | |
| using Microsoft.Extensions.DependencyInjection; | |
| using Microsoft.Extensions.Hosting; | |
| using Microsoft.Extensions.Logging; |
I hereby claim:
To claim this, I am signing this object:
| #tool nuget:?package=Wyam&prerelease | |
| #addin nuget:?package=Cake.Wyam&prerelease | |
| ////////////////////////////////////////////////////////////////////// | |
| // ARGUMENTS | |
| ////////////////////////////////////////////////////////////////////// | |
| var target = Argument("target", "Default"); | |
| ////////////////////////////////////////////////////////////////////// |
| #Requires -RunAsAdministrator | |
| function Get-InstalledPackageCount($Name) { | |
| if ((clist -l $Name | Select-Object -Last 1) -match "\d*") { | |
| [int]($matches[0]) | |
| } else { | |
| 0 | |
| } | |
| } |