Skip to content

Commit 708e1c0

Browse files
committed
Add PlatyPS to required modules and fix module name in build script
1 parent 7908e3c commit 708e1c0

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

RequiredModules.psd1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
@{
22
ModuleBuilder = "[2.0.0,3.0)"
3+
PlatyPS = "[0.14.0,0.14.2)"
34
}

build.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,14 +106,14 @@ process {
106106
}
107107

108108
$WriteMdDocs {
109-
if (Test-Path $root\Output\BeautifulDocs) {
109+
if (Test-Path $root\Output\NexuShell) {
110110
if ($env:PSModulePath.Split(';') -notcontains "$root\Output") {
111111
$env:PSModulePath = "$root\Output;$env:PSModulePath"
112112
}
113-
Import-Module BeautifulDocs -Force
113+
Import-Module NexuShell -Force
114114
Import-Module PlatyPS -Force
115115

116-
New-MarkdownHelp -Module BeautifulDocs -OutputFolder $root\docs
116+
New-MarkdownHelp -Module NexuShell -OutputFolder $root\docs
117117

118118
}
119119
}
@@ -131,7 +131,7 @@ process {
131131
git config --global user.name 'Stephen Valdinger'
132132
git config --global user.email 'stephen@chocolatey.io'
133133
git remote rm origin
134-
$url = 'https://steviecoaster:' + $env:GH_TOKEN + '@github.com/steviecoaster/BeautifulDocs.git'
134+
$url = 'https://steviecoaster:' + $env:GH_TOKEN + '@github.com/steviecoaster/NexuShell.git'
135135
git remote add origin $url
136136

137137
$mkDocsArgs = @('gh-deploy','--force')

0 commit comments

Comments
 (0)