Skip to content

Commit 051cd88

Browse files
committed
Setting up AppVeyor
1 parent d27b0eb commit 051cd88

6 files changed

Lines changed: 34 additions & 27 deletions

File tree

appveyor.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
install:
2+
- choco install gitversion.portable -pre -y
3+
4+
platform:
5+
- Any CPU
6+
7+
configuration:
8+
- Release
9+
10+
assembly_info:
11+
patch: false
12+
13+
before_build:
14+
- nuget restore src\
15+
- ps: gitversion /l console /output buildserver /updateAssemblyInfo
16+
17+
build:
18+
project: src\TestStack.BDDfy.sln
19+
20+
after_build:
21+
- cmd: nuget pack src\TestStack.BDDfy\TestStack.BDDfy.nuspec -BasePath src\TestStack.BDDfy\ -version "%GitVersion_NuGetVersion%" -prop "configuration=%CONFIGURATION%"
22+
- cmd: appveyor PushArtifact "TestStack.BDDfy.%GitVersion_NuGetVersion%.nupkg"
23+
24+
- cmd: 7z a "TestStack.BDDfy_%GitVersion_NuGetVersion%.zip" -r src\TestStack.BDDfy\bin\%CONFIGURATION%\*.*
25+
- cmd: appveyor PushArtifact "TestStack.BDDfy_%GitVersion_NuGetVersion%.zip"
26+
27+
cache:
28+
- src\packages -> **\packages.config # preserve "packages" directory in the root of build folder but will reset it if packages.config is modified

src/TestStack.BDDfy.Samples.nuspec

Lines changed: 0 additions & 19 deletions
This file was deleted.

src/TestStack.BDDfy.sln

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,9 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
77
ProjectSection(SolutionItems) = preProject
88
.gitattributes = .gitattributes
99
.gitignore = .gitignore
10-
go.cmd = go.cmd
11-
Packages.build = Packages.build
10+
..\appveyor.yml = ..\appveyor.yml
1211
readme.md = readme.md
1312
release-notes.md = release-notes.md
14-
TestStack.BDDfy.build = TestStack.BDDfy.build
15-
TestStack.BDDfy.nuspec = TestStack.BDDfy.nuspec
16-
TestStack.BDDfy.Samples.nuspec = TestStack.BDDfy.Samples.nuspec
17-
WE-settings.xml = WE-settings.xml
1813
EndProjectSection
1914
EndProject
2015
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestStack.BDDfy", "TestStack.BDDfy\TestStack.BDDfy.csproj", "{DA6BCB39-307C-4A8E-9A3A-27BB2DBC44A3}"

src/TestStack.BDDfy/TestStack.BDDfy.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@
187187
<Generator>TextTemplatingFileGenerator</Generator>
188188
<LastGenOutput>FluentApi.cs</LastGenOutput>
189189
</None>
190+
<None Include="TestStack.BDDfy.nuspec" />
190191
</ItemGroup>
191192
<ItemGroup>
192193
<Content Include="Reporters\Html\Scripts\classic.min.css">

src/TestStack.BDDfy.nuspec renamed to src/TestStack.BDDfy/TestStack.BDDfy.nuspec

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,8 @@
1313
<iconUrl>https://raw.github.com/TestStack/TestStack.BDDfy/master/logo.png</iconUrl>
1414
<tags>BDD testing</tags>
1515
</metadata>
16+
<files>
17+
<file src="bin\$configuration$\TestStack.BDDfy.dll" target="lib\net40\" />
18+
<file src="bin\$configuration$\TestStack.BDDfy.xml" target="lib\net40\" />
19+
</files>
1620
</package>

src/go.cmd

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)