Skip to content

Commit d745aa0

Browse files
author
Kapil Borle
committed
Add tasks to clean docs and create new session
1 parent dd35798 commit d745aa0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.build.ps1

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,10 @@ task buildDocs -Inputs $bdInputs -Outputs $bdOutputs {
196196
New-ExternalHelp -Path $markdownDocsPath -OutputPath $outputDocsPath -Force
197197
}
198198

199-
task cleanDocs {
199+
task cleanDocs -if (Test-Path $outputDocsPath) {
200+
Remove-Item -Path $outputDocsPath -Recurse -Force
201+
}
200202

203+
task newSession {
204+
Start-Process "powershell" -ArgumentList @('-noexit', '-command "import-module c:\users\kabawany\source\repos\psscriptanalyzer\out\psscriptanalyzer"')
201205
}

0 commit comments

Comments
 (0)