From b0d10c81b820b2a3171775b29eaf44e5cd56e428 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 4 Feb 2016 11:42:10 +0000 Subject: [PATCH 1/4] Add AppVeyor support --- NiftyPerforce/AssemblyInfo.cs | 51 ----------------------------------- NiftySolution/AssemblyInfo.cs | 51 ----------------------------------- appveyor.yml | 16 +++++++++++ 3 files changed, 16 insertions(+), 102 deletions(-) delete mode 100644 NiftyPerforce/AssemblyInfo.cs delete mode 100644 NiftySolution/AssemblyInfo.cs create mode 100644 appveyor.yml diff --git a/NiftyPerforce/AssemblyInfo.cs b/NiftyPerforce/AssemblyInfo.cs deleted file mode 100644 index 2d18366..0000000 --- a/NiftyPerforce/AssemblyInfo.cs +++ /dev/null @@ -1,51 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; - -// -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -// -[assembly: AssemblyTitle("")] -[assembly: AssemblyDescription("Perforce plugin helper for Visual Studio")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Aurora")] -[assembly: AssemblyProduct("NiftyPerforce")] -[assembly: AssemblyCopyright("")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Revision -// Build Number -// -// You can specify all the value or you can default the Revision and Build Numbers -// by using the '*' as shown below: - -[assembly: AssemblyVersion("2.0.1")] - -// -// In order to sign your assembly you must specify a key to use. Refer to the -// Microsoft .NET Framework documentation for more information on assembly signing. -// -// Use the attributes below to control which key is used for signing. -// -// Notes: -// (*) If no key is specified - the assembly cannot be signed. -// (*) KeyName refers to a key that has been installed in the Crypto Service -// Provider (CSP) on your machine. -// (*) If the key file and a key name attributes are both specified, the -// following processing occurs: -// (1) If the KeyName can be found in the CSP - that key is used. -// (2) If the KeyName does not exist and the KeyFile does exist, the key -// in the file is installed into the CSP and used. -// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework -// documentation for more information on this. -// -[assembly: AssemblyDelaySign(false)] -[assembly: AssemblyKeyFile("")] -[assembly: AssemblyKeyName("")] diff --git a/NiftySolution/AssemblyInfo.cs b/NiftySolution/AssemblyInfo.cs deleted file mode 100644 index 0058abc..0000000 --- a/NiftySolution/AssemblyInfo.cs +++ /dev/null @@ -1,51 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; - -// -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -// -[assembly: AssemblyTitle("")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("")] -[assembly: AssemblyCopyright("")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Revision -// Build Number -// -// You can specify all the value or you can default the Revision and Build Numbers -// by using the '*' as shown below: - -[assembly: AssemblyVersion("2.0.0")] - -// -// In order to sign your assembly you must specify a key to use. Refer to the -// Microsoft .NET Framework documentation for more information on assembly signing. -// -// Use the attributes below to control which key is used for signing. -// -// Notes: -// (*) If no key is specified - the assembly cannot be signed. -// (*) KeyName refers to a key that has been installed in the Crypto Service -// Provider (CSP) on your machine. -// (*) If the key file and a key name attributes are both specified, the -// following processing occurs: -// (1) If the KeyName can be found in the CSP - that key is used. -// (2) If the KeyName does not exist and the KeyFile does exist, the key -// in the file is installed into the CSP and used. -// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework -// documentation for more information on this. -// -[assembly: AssemblyDelaySign(false)] -[assembly: AssemblyKeyFile("")] -[assembly: AssemblyKeyName("")] diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..41a0fcc --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,16 @@ +version: 3.0.{build} +build: + verbosity: minimal + project: NiftyPlugins.sln +configuration: Release +assembly_info: + patch: true + file: Nifty*\Properties\AssemblyInfo.cs + assembly_version: $(appveyor_build_version) + assembly_file_version: $(appveyor_build_version) +skip_tags: true +artifacts: +- path: NiftyPerforce\bin\Release\NiftyPerforce.vsix + name: NiftyPlugins +- path: NiftySolution\bin\Release\NiftySolution.vsix + name: NiftyPlugins From e4ae6c4c17eaa6b93543952dbe2e02beba0b067d Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 4 Feb 2016 11:43:39 +0000 Subject: [PATCH 2/4] Remove TravisCI support (as this project is Windows only). --- .travis.yml | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index c61d868..0000000 --- a/.travis.yml +++ /dev/null @@ -1,2 +0,0 @@ -language: csharp -solution: NiftyPlugins.sln From c7eb610284a2b85f18a873f3c98a667cabf709dc Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 4 Feb 2016 11:46:20 +0000 Subject: [PATCH 3/4] Add NuGet restore --- appveyor.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/appveyor.yml b/appveyor.yml index 41a0fcc..e845856 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,6 @@ version: 3.0.{build} +before_build: +- nuget restore build: verbosity: minimal project: NiftyPlugins.sln From a9d494f01dcc012581c442544b4bf1fca5571fcd Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 4 Feb 2016 11:53:30 +0000 Subject: [PATCH 4/4] Fix AppVeyor build version --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index e845856..5900a0c 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,4 @@ -version: 3.0.{build} +version: 2.0.{build} before_build: - nuget restore build: