@@ -17,12 +17,9 @@ BuildWorkflow:
17
17
- Check_SqlServer_Availability
18
18
- Generate_Conceptual_Help
19
19
- Generate_Wiki_Content
20
- - Generate_Markdown_For_Public_Commands
21
- - Generate_External_Help_File_For_Public_Commands
22
- - Clean_Markdown_Of_Public_Commands
23
20
- Generate_Wiki_Sidebar
24
21
- Clean_Markdown_Metadata
25
- - Package_WikContent
22
+ - Package_Wiki_Content
26
23
27
24
pack :
28
25
- build
@@ -56,35 +53,6 @@ BuildWorkflow:
56
53
}
57
54
}
58
55
59
- Package_WikContent : |
60
- {
61
- param
62
- (
63
- $OutputDirectory = (property OutputDirectory (Join-Path $BuildRoot 'output')),
64
- $ProjectName = (property ProjectName $(Get-SamplerProjectName -BuildRoot $BuildRoot)),
65
- $BuildInfo = (property BuildInfo @{ })
66
- )
67
-
68
- "`tProject Name = {0}" -f $ProjectName
69
- "`tOutput Directory = {0}" -f $OutputDirectory
70
-
71
- $wikiOutputPath = Join-Path -Path $OutputDirectory -ChildPath 'WikiContent'
72
- $wikiArchiveSourcePath = Join-Path -Path $wikiOutputPath -ChildPath '*'
73
- $wikiPackagePath = Join-Path -Path $OutputDirectory -ChildPath 'WikiContent.zip'
74
-
75
- "`tWiki Output Path = $wikiOutputPath"
76
- "`tWiki Archive Source Path = $wikiArchiveSourcePath"
77
- "`tWiki Package Path = $wikiPackagePath"
78
-
79
- if (-not (Test-Path -Path $wikiOutputPath))
80
- {
81
- throw 'The Wiki Output Path does not exist. Please run the task Generate_Wiki_Content prior to running this task.'
82
- }
83
-
84
- # Overwrites any existing archive.
85
- Compress-Archive -Path $wikiArchiveSourcePath -DestinationPath $wikiPackagePath -CompressionLevel 'Optimal' -Force -ErrorAction 'Stop'
86
- }
87
-
88
56
# ###################################################
89
57
# ModuleBuilder Configuration #
90
58
# ###################################################
0 commit comments