Cleaning InvokeBuild Script
This commit is contained in:
@@ -1,12 +1,5 @@
|
||||
#Requires -Modules 'InvokeBuild'
|
||||
|
||||
. '.\ZertoApiWrapper.settings.ps1'
|
||||
# import-module "$BuildRoot\ZertoApiWrapper\ZertoApiWrapper.psd1" -Verbose -Force
|
||||
|
||||
<# [CmdletBinding()]
|
||||
param([switch]$Install,
|
||||
[string]$Configuration = (property Configuration Release))
|
||||
$targetDir = "temp/$Configuration/ZertoApiWrapper" #>
|
||||
$version = "{0}.{1}" -f $(Get-Content .\version.txt), $(get-date -format 'yyyyMMdd')
|
||||
|
||||
task . CreateArtifacts
|
||||
@@ -54,7 +47,7 @@ task AnalyzeBuiltFiles CheckPSScriptAnalyzerInstalled, CreatePsm1ForRelease, {
|
||||
Severity = @('Error', 'Warning')
|
||||
Recurse = $true
|
||||
Verbose = $false
|
||||
ExcludeRule = @()
|
||||
ExcludeRule = @("PSUseBOMForUnicodeEncodedFile")
|
||||
}
|
||||
$saresults = Invoke-ScriptAnalyzer @scriptAnalyzerParams
|
||||
|
||||
|
||||
Reference in New Issue
Block a user