-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add docgenerator and hqrmtests (#21)
- Loading branch information
1 parent
825cc8a
commit 890fa06
Showing
12 changed files
with
197 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,25 @@ | ||
@{ | ||
PSDependOptions = @{ | ||
PSDependOptions = @{ | ||
AddToPath = $true | ||
Target = 'output\RequiredModules' | ||
Parameters = @{ | ||
Repository = 'PSGallery' | ||
} | ||
} | ||
|
||
InvokeBuild = 'latest' | ||
PSScriptAnalyzer = 'latest' | ||
Pester = 'latest' | ||
Plaster = 'latest' | ||
ModuleBuilder = 'latest' | ||
ChangelogManagement = 'latest' | ||
Sampler = 'latest' | ||
'Sampler.GitHubTasks' = 'latest' | ||
'DscResource.Test' = 'latest' | ||
InvokeBuild = 'latest' | ||
PSScriptAnalyzer = 'latest' | ||
Pester = 'latest' | ||
Plaster = 'latest' | ||
ModuleBuilder = 'latest' | ||
ChangelogManagement = 'latest' | ||
Sampler = 'latest' | ||
'Sampler.GitHubTasks' = 'latest' | ||
MarkdownLinkCheck = 'latest' | ||
'DscResource.Test' = 'latest' | ||
xDscResourceDesigner = 'latest' | ||
|
||
# Prerequisite modules for documentation. | ||
'DscResource.DocGenerator' = 'latest' | ||
PlatyPS = 'latest' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Welcome to the DscResource.AnalyzerRules wiki | ||
|
||
<sup>*DscResource.AnalyzerRules v#.#.#*</sup> | ||
|
||
For the task documentation please see the [README.md](https://github.com/dsccommunity/DscResource.AnalyzerRules/blob/main/README.md) | ||
|
||
Please leave comments, feature requests, and bug reports for this module in | ||
the [issues section](https://github.com/dsccommunity/DscResource.AnalyzerRules/issues) | ||
for this repository. | ||
|
||
## Prerequisites | ||
|
||
- [Sampler](https://github.com/gaelcolas/Sampler) | ||
|
||
## Change log | ||
|
||
A full list of changes in each version can be found in the [change log](https://github.com/dsccommunity/DscResource.AnalyzerRules/blob/main/CHANGELOG.md). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,11 +10,38 @@ Encoding: UTF8 | |
VersionedOutputDirectory: true | ||
BuiltModuleSubdirectory: builtModule | ||
|
||
#################################################### | ||
# HQRM Test Configuration # | ||
#################################################### | ||
DscTest: | ||
Pester: | ||
Configuration: | ||
Filter: | ||
Tag: | ||
ExcludeTag: | ||
- Common Tests - New Error-Level Script Analyzer Rules | ||
Output: | ||
Verbosity: Detailed | ||
CIFormat: Auto | ||
TestResult: | ||
Enabled: true | ||
OutputFormat: NUnitXML | ||
OutputEncoding: ascii | ||
OutputPath: ./output/testResults/NUnitXml_HQRM_Tests.xml | ||
Script: | ||
ExcludeSourceFile: | ||
- output | ||
- DscResource.AnalyzerRules | ||
ExcludeModuleFile: | ||
MainGitBranch: main | ||
|
||
ModuleBuildTasks: | ||
Sampler: | ||
- '*.build.Sampler.ib.tasks' | ||
Sampler.GitHubTasks: | ||
- '*.ib.tasks' | ||
DscResource.DocGenerator: | ||
- 'Task.*' | ||
DscResource.Test: | ||
- 'Task.*' | ||
|
||
|
@@ -43,10 +70,23 @@ BuildWorkflow: | |
- Build_NestedModules_ModuleBuilder | ||
- Create_changelog_release_output | ||
|
||
docs: | ||
- Generate_Wiki_Content | ||
- Generate_Conceptual_Help | ||
- Generate_Markdown_For_Public_Commands | ||
- Generate_External_Help_File_For_Public_Commands | ||
- Clean_Markdown_Of_Public_Commands | ||
- Generate_Wiki_Sidebar | ||
- Clean_Markdown_Metadata | ||
|
||
pack: | ||
- build | ||
- docs | ||
- package_module_nupkg | ||
|
||
hqrmtest: | ||
- Invoke_HQRM_Tests_Stop_On_Fail | ||
|
||
test: | ||
- Pester_Tests_Stop_On_Fail | ||
- Convert_Pester_Coverage | ||
|
@@ -58,6 +98,7 @@ BuildWorkflow: | |
publish: | ||
- Publish_Release_To_GitHub | ||
- Publish_Module_To_gallery | ||
- Publish_GitHub_Wiki_Content | ||
|
||
#################################################### | ||
# Pester Configuration (Sampler) # | ||
|
@@ -106,3 +147,31 @@ GitHubConfig: | |
GitHubConfigUserName: dscbot # cSpell: disable-line | ||
GitHubConfigUserEmail: [email protected] | ||
UpdateChangelogOnPrerelease: false | ||
|
||
#################################################### | ||
# DscResource.DocGenerator Configuration # | ||
#################################################### | ||
DscResource.DocGenerator: | ||
Generate_Conceptual_Help: | ||
MarkdownCodeRegularExpression: | ||
- '\`(.+?)\`' # Match inline code-block | ||
- '\\(\\)' # Match escaped backslash | ||
- '\[[^\[]+\]\((.+?)\)' # Match markdown URL | ||
- '_(.+?)_' # Match Italic (underscore) | ||
- '\*\*(.+?)\*\*' # Match bold | ||
- '\*(.+?)\*' # Match Italic (asterisk) | ||
Publish_GitHub_Wiki_Content: | ||
Debug: true | ||
Generate_Wiki_Content: | ||
MofResourceMetadata: | ||
Type: MofResource | ||
Category: Resources | ||
ClassResourceMetadata: | ||
Type: ClassResource | ||
Category: Resources | ||
CompositeResourceMetadata: | ||
Type: CompositeResource | ||
Category: Resources | ||
Generate_Wiki_Sidebar: | ||
Debug: false | ||
AlwaysOverwrite: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.