Skip to content

Commit cb04c5f

Browse files
committed
basic appveyor.yml and updated scaffold regarding last commit
1 parent e53d8a1 commit cb04c5f

3 files changed

Lines changed: 19 additions & 4 deletions

File tree

appveyor.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# See http://www.appveyor.com/docs/appveyor-yml for many more options
2+
# Allow WMF5 (i.e. PowerShellGallery functionality)
3+
os: WMF 5
4+
5+
# Skip on updates to the readme.
6+
# We can force this by adding [skip ci] or [ci skip] anywhere in commit message
7+
skip_commits:
8+
message: /updated readme.*|update readme.*s/
9+
10+
build: false
11+
12+
#Kick off the CI/CD pipeline
13+
test_script:
14+
- ps: . .\Build.ps1 -BuildModule

plaster/ModuleBuild/scaffold/Build.template

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,6 @@ switch ($psCmdlet.ParameterSetName) {
6161
throw
6262
}
6363
}
64-
65-
CleanUp
6664
}
6765
'Build' {
6866
if ($NewVersion -ne $null) {
@@ -104,7 +102,5 @@ switch ($psCmdlet.ParameterSetName) {
104102
throw 'Unable to upload project to the PowerShell Gallery!'
105103
}
106104
}
107-
108-
CleanUp
109105
}
110106
}

plaster/PlasterContent.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,4 +226,9 @@ $Content = @(
226226
Source = 'scaffold\PSScriptAnalyzerSettings.psd1'
227227
Destination = 'PSScriptAnalyzerSettings.psd1'
228228
}
229+
@{
230+
ContentType = 'file'
231+
Source = 'scaffold\appveyor.yml'
232+
Destination = 'appveyor.yml'
233+
}
229234
)

0 commit comments

Comments
 (0)