-
Notifications
You must be signed in to change notification settings - Fork 11
/
build.settings.ps1
29 lines (21 loc) · 1.06 KB
/
build.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
Properties {
$ModuleNames = ''
$SourceEnabled = Test-Path -Path "$PSScriptRoot\Sources"
$SourcePath = $(if ($SourceEnabled) { "$PSScriptRoot\Sources" } else { '' })
$SourceNames = $(if ($SourceEnabled) { Get-ChildItem -Path $SourcePath -Filter '*.sln' | Select-Object -ExpandProperty 'BaseName' -First 1 } else { '' })
$SourcePublish = 'Default'
$ReleasePath = Join-Path -Path $PSScriptRoot -ChildPath 'bin'
$PesterPath = Join-Path -Path $PSScriptRoot -ChildPath 'tst'
$PesterFile = 'pester.xml'
$ScriptAnalyzerPath = Join-Path -Path $PSScriptRoot -ChildPath 'tst'
$ScriptAnalyzerFile = 'scriptanalyzer.json'
$ScriptAnalyzerRules = Get-ScriptAnalyzerRule
$GalleryEnabled = $true
$GalleryName = 'PSGallery'
$GallerySource = 'https://www.powershellgallery.com/api/v2/'
$GalleryPublish = 'https://www.powershellgallery.com/api/v2/package/'
$GalleryKey = $Env:PSGalleryKey
$GitHubEnabled = $true
$GitHubRepoName = Split-Path -Path $PSScriptRoot -Leaf
$GitHubKey = $Env:GitHubToken
}