-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpsakeFile.ps1
More file actions
23 lines (16 loc) · 863 Bytes
/
psakeFile.ps1
File metadata and controls
23 lines (16 loc) · 863 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Properties {
$PSBPreference.Help.DefaultLocale = 'en-US'
$PSBPreference.Test.OutputFile = 'Output/testResults.xml'
$PSBPreference.Test.ScriptAnalysis.SettingsPath = 'tests/ScriptAnalyzerSettings.psd1'
$PSBPreference.Test.ScriptAnalysis.Enabled = $ScriptAnalysisEnabled
$PSBPreference.Test.CodeCoverage.Enabled = $CodeCoverageEnabled
$PSBPreference.Test.Enabled = $TestEnabled
$PSBPreference.General.ModuleVersion = $ModuleVersion
}
Task Default -depends Test
Task Test -FromModule PowerShellBuild -minimumVersion '0.6.1'
Task Build -FromModule PowerShellBuild -minimumVersion '0.6.1'
Task Publish -FromModule PowerShellBuild -minimumVersion '0.6.1'
Task Init -FromModule PowerShellBuild -minimumVersion '0.6.1'
Task Clean -FromModule PowerShellBuild -minimumVersion '0.6.1'
Task Stagefiles -FromModule PowerShellBuild -minimumVersion '0.6.1'