-
Notifications
You must be signed in to change notification settings - Fork 12
/
ZertoApiWrapper.settings.ps1
73 lines (64 loc) · 3.26 KB
/
ZertoApiWrapper.settings.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# This file stores variables which are used by the build script
# Storing all values in a single $Settings variable to make it obvious that the values are coming from this BuildSettings file when accessing them.
$Settings = @{
BuildOutput = "$PSScriptRoot\BuildOutput"
Dependency = @('Pester', 'PsScriptAnalyzer', 'platyPS')
SourceFolder = "$PSScriptRoot\ZertoApiWrapper"
#SourceFolder = "$PSScriptRoot\$($env:APPVEYOR_PROJECT_NAME)"
#TestUploadUrl = "https://ci.appveyor.com/api/testresults/nunit/$($env:APPVEYOR_JOB_ID)"
#CoverallsKey = $env:Coveralls_Key
#Branch = $env:APPVEYOR_REPO_BRANCH
UnitTestParams = @{
Script = '.\Tests\Unit'
#CodeCoverage = (Get-ChildItem -Path '.\PSCodeHealth\' -File -Filter "*.ps1" -Recurse).FullName | Where-Object { $_ -Match "Public|Private" }
OutputFile = "$PSScriptRoot\BuildOutput\UnitTestsResult.xml"
PassThru = $True
}
IntegrationTestParams = @{
Script = '.\Tests\Integration'
OutputFile = "$PSScriptRoot\BuildOutput\IntegrationTestsResult.xml"
PassThru = $True
}
AnalyzeParams = @{
Path = "$PSScriptRoot\$($env:APPVEYOR_PROJECT_NAME)"
Severity = 'Error'
Recurse = $True
}
IsPullRequest = ($env:APPVEYOR_PULL_REQUEST_NUMBER -gt 0)
Version = $env:APPVEYOR_BUILD_VERSION
ManifestPath = '{0}\{1}\{1}.psd1' -f $PSScriptRoot, $env:APPVEYOR_PROJECT_NAME
VersionRegex = "ModuleVersion\s=\s'(?<ModuleVersion>\S+)'" -as [regex]
ModuleName = $env:APPVEYOR_PROJECT_NAME
HeaderPath = "$PSScriptRoot\header-mkdocs.yml"
MkdocsPath = "$PSScriptRoot\mkdocs.yml"
PublicFunctionDocsPath = "$PSScriptRoot\docs\PublicFunctions"
PlatyPSParams = @{
Module = $env:APPVEYOR_PROJECT_NAME
OutputFolder = "$PSScriptRoot\docs\PublicFunctions"
NoMetadata = $True
Force = $True
}
PrivateFunctionDocsPath = "$PSScriptRoot\docs\InternalFunctions"
InternalDocsPlatyPSParams = @{
OutputFolder = "$PSScriptRoot\docs\InternalFunctions"
WarningAction = 'SilentlyContinue'
NoMetadata = $True
Force = $True
}
FunctionsToExclude = @('Write-VerboseOutput', 'Get-SwitchCombination')
GitHubKey = $env:GitHub_Key
Email = 'MathieuBuisson@users.noreply.github.com'
Name = 'Mathieu Buisson'
ScreenshotPath = "$($env:TEMP)\*Screenshot.png"
PSGalleryKey = $env:PSGallery_Key
OutputModulePath = "$PSScriptRoot\BuildOutput\$($env:APPVEYOR_PROJECT_NAME)"
}
$ModuleManifestParams = @{
RootModule = "ZertoApiWrapper"
GUID = '4c0b9e17-141b-4dd5-8549-fb21cccaa325'
Author = 'Wes Carroll'
CompanyName = 'Zerto'
Copyright = "(c) $(Get-Date -Format "yyyy") Wes Carroll. All rights reserved."
Description = 'PowerShell Core Wrapper Module for Zerto Virtual Manager API'
PowerShellVersion = '6.0.0'
}