Skip to content

Commit

Permalink
Setting up AppVeyor
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeGinnivan committed Aug 25, 2015
1 parent d27b0eb commit 051cd88
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 27 deletions.
28 changes: 28 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
install:
- choco install gitversion.portable -pre -y

platform:
- Any CPU

configuration:
- Release

assembly_info:
patch: false

before_build:
- nuget restore src\
- ps: gitversion /l console /output buildserver /updateAssemblyInfo

build:
project: src\TestStack.BDDfy.sln

after_build:
- cmd: nuget pack src\TestStack.BDDfy\TestStack.BDDfy.nuspec -BasePath src\TestStack.BDDfy\ -version "%GitVersion_NuGetVersion%" -prop "configuration=%CONFIGURATION%"
- cmd: appveyor PushArtifact "TestStack.BDDfy.%GitVersion_NuGetVersion%.nupkg"

- cmd: 7z a "TestStack.BDDfy_%GitVersion_NuGetVersion%.zip" -r src\TestStack.BDDfy\bin\%CONFIGURATION%\*.*
- cmd: appveyor PushArtifact "TestStack.BDDfy_%GitVersion_NuGetVersion%.zip"

cache:
- src\packages -> **\packages.config # preserve "packages" directory in the root of build folder but will reset it if packages.config is modified
19 changes: 0 additions & 19 deletions src/TestStack.BDDfy.Samples.nuspec

This file was deleted.

7 changes: 1 addition & 6 deletions src/TestStack.BDDfy.sln
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,9 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
ProjectSection(SolutionItems) = preProject
.gitattributes = .gitattributes
.gitignore = .gitignore
go.cmd = go.cmd
Packages.build = Packages.build
..\appveyor.yml = ..\appveyor.yml
readme.md = readme.md
release-notes.md = release-notes.md
TestStack.BDDfy.build = TestStack.BDDfy.build
TestStack.BDDfy.nuspec = TestStack.BDDfy.nuspec
TestStack.BDDfy.Samples.nuspec = TestStack.BDDfy.Samples.nuspec
WE-settings.xml = WE-settings.xml
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestStack.BDDfy", "TestStack.BDDfy\TestStack.BDDfy.csproj", "{DA6BCB39-307C-4A8E-9A3A-27BB2DBC44A3}"
Expand Down
1 change: 1 addition & 0 deletions src/TestStack.BDDfy/TestStack.BDDfy.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>FluentApi.cs</LastGenOutput>
</None>
<None Include="TestStack.BDDfy.nuspec" />
</ItemGroup>
<ItemGroup>
<Content Include="Reporters\Html\Scripts\classic.min.css">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,8 @@
<iconUrl>https://raw.github.com/TestStack/TestStack.BDDfy/master/logo.png</iconUrl>
<tags>BDD testing</tags>
</metadata>
<files>
<file src="bin\$configuration$\TestStack.BDDfy.dll" target="lib\net40\" />
<file src="bin\$configuration$\TestStack.BDDfy.xml" target="lib\net40\" />
</files>
</package>
2 changes: 0 additions & 2 deletions src/go.cmd

This file was deleted.

0 comments on commit 051cd88

Please sign in to comment.