From 7ac6bad6adf5a72186dbf61dc285afcadb1b3309 Mon Sep 17 00:00:00 2001 From: Chris Kaczor Date: Wed, 21 Feb 2018 11:35:01 -0500 Subject: [PATCH] Add AppVeyor build config and NuGet spec --- FloatingStatusWindow.sln | 4 +++- Library/FloatingStatusWindow.nuspec | 15 +++++++++++++++ appveyor.yml | 24 ++++++++++++++++++++++++ 3 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 Library/FloatingStatusWindow.nuspec create mode 100644 appveyor.yml diff --git a/FloatingStatusWindow.sln b/FloatingStatusWindow.sln index fb40a91..781e0b9 100644 --- a/FloatingStatusWindow.sln +++ b/FloatingStatusWindow.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 15 -VisualStudioVersion = 15.0.27130.2027 +VisualStudioVersion = 15.0.27130.2036 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FloatingStatusWindow", "Library\FloatingStatusWindow.csproj", "{F023A16C-2F13-4A87-A8B7-22C43C4A58A4}" EndProject @@ -10,6 +10,8 @@ EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution", "Solution", "{C4E7C6BF-86B2-433B-B842-31B82811FAC9}" ProjectSection(SolutionItems) = preProject .gitignore = .gitignore + appveyor.yml = appveyor.yml + Library\FloatingStatusWindow.nuspec = Library\FloatingStatusWindow.nuspec LICENSE.md = LICENSE.md README.md = README.md EndProjectSection diff --git a/Library/FloatingStatusWindow.nuspec b/Library/FloatingStatusWindow.nuspec new file mode 100644 index 0000000..7f14084 --- /dev/null +++ b/Library/FloatingStatusWindow.nuspec @@ -0,0 +1,15 @@ + + + + FloatingStatusWindow + $version$ + Chris Kaczor + Library to create a "floating" window that blends in with the Windows desktop and allows displaying status text. + https://github.com/ckaczor/FloatingStatusWindow + https://raw.githubusercontent.com/ckaczor/FloatingStatusWindow/master/LICENSE.md + wpf + + + + + diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..396d466 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,24 @@ +version: 1.0.0.{build} +pull_requests: + do_not_increment_build_number: true +skip_tags: true +image: Visual Studio 2015 +configuration: Release +assembly_info: + patch: true + file: 'Library\Properties\AssemblyInfo.cs' + assembly_version: '{version}' + assembly_file_version: '{version}' +build: + project: FloatingStatusWindow.sln + verbosity: minimal +after_build: +- cmd: nuget pack FloatingStatusWindow.nuspec -Version %appveyor_build_version% -Properties Configuration=Release -OutputDirectory bin\Release\ +artifacts: +- path: Library\bin\$(configuration)\FloatingStatusWindow.*.nupkg + name: NuGet +deploy: +- provider: Environment + name: GitHub +- provider: Environment + name: NuGet \ No newline at end of file