nuget package scripts

This commit is contained in:
Ivan Gagis 2015-10-07 22:03:12 +03:00
parent b112341a64
commit 48beabdb3f
2 changed files with 61 additions and 0 deletions

View file

@ -0,0 +1,11 @@
msbuild vs2015/vs2015.sln /target:Clean /property:Configuration=Debug /property:Platform=x86
msbuild vs2015/vs2015.sln /target:Clean /property:Configuration=Debug /property:Platform=x64
msbuild vs2015/vs2015.sln /target:Clean /property:Configuration=Release /property:Platform=x86
msbuild vs2015/vs2015.sln /target:Clean /property:Configuration=Release /property:Platform=x64
msbuild vs2015/vs2015.sln /property:Configuration=Debug /property:Platform=x86
msbuild vs2015/vs2015.sln /property:Configuration=Debug /property:Platform=x64
msbuild vs2015/vs2015.sln /property:Configuration=Release /property:Platform=x86
msbuild vs2015/vs2015.sln /property:Configuration=Release /property:Platform=x64
powershell Write-NuGetPackage nuget.autopkg

50
scripts/nuget.autopkg Normal file
View file

@ -0,0 +1,50 @@
nuget{
nuspec{
id = libpugixml;
version : 1.6.0.1;
title: XML parser library in C++;
authors: {Arseny Kapoulkine};
owners: {Ivan Gagis};
licenseUrl: "http://pugixml.org/license.html";
projectUrl: "http://pugixml.org/";
iconUrl: "https://github.com/zeux/pugixml/logo.svg";
requireLicenseAcceptance:false;
summary: XML parser library in C++;
description: @"XML parser library in C++";
releaseNotes: "Initial release";
copyright: Copyright (c) 2006-2015 Arseny Kapoulkine;
tags: { native};
}
dependencies {
packages : {
};
}
files {
include: { "..\src\**\*.hpp" };
[x86,release] {
lib: vs2015\Release\libpugixml.lib;
// symbols: vs2015\Release\libpugixml.pdb;
// bin: vs2015\Release\libpugixml.dll;
}
[x86,debug] {
lib: vs2015\Debug\libpugixml.lib;
// symbols: vs2015\Debug\libpugixml.pdb;
// bin: vs2015\Debug\libpugixml.dll;
}
[x64,release] {
lib: vs2015\x64\Release\libpugixml.lib;
// symbols: vs2015\x64\Release\libpugixml.pdb;
// bin: vs2015\x64\Release\libpugixml.dll;
}
[x64,debug] {
lib: vs2015\x64\Debug\libpugixml.lib;
// symbols: vs2015\x64\Debug\libpugixml.pdb;
// bin: vs2015\x64\Debug\libpugixml.dll;
}
}
}