There was an error while loading. Please reload this page.
1 parent dffe229 commit 3a014c0Copy full SHA for 3a014c0
3 files changed
Stucco/template/module/Public/Get-HelloWorld.ps1
@@ -10,6 +10,13 @@ Function Get-HelloWorld {
10
11
Runs the command
12
#>
13
- $value = GetHelloWorld
14
- $value
+ [CmdletBinding()]
+ param (
15
+ # Parameter description can go here or above in format: .PARAMETER <Parameter-Name>
16
+ [Parameter()]
17
+ [string]
18
+ $Value = 'GetHelloWorld'
19
+ )
20
+
21
+ $Value
22
}
Stucco/template/psakeFile.ps1
@@ -4,6 +4,7 @@ properties {
4
# in the PowerShellBuild shared psake task module
5
$PSBPreference.Build.CompileModule = $false
6
$PSBPreference.Help.DefaultLocale = 'en-US'
7
+ $PSBPreference.Test.OutputFile = 'out/testResults.xml'
8
9
task default -depends Test
Stucco/template/tests/out/.gitkeep
0 commit comments