summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorIvan Gagis <igagis@gmail.com>2015-10-07 22:03:12 +0300
committerIvan Gagis <igagis@gmail.com>2015-10-07 22:03:12 +0300
commit48beabdb3fb7864c87e912c9288750a953453468 (patch)
tree5711f9a62b2e15026dfa28c29b7692a5a0317325 /scripts
parentb112341a643de675a25459b26484ebf61eedffe9 (diff)
nuget package scripts
Diffstat (limited to 'scripts')
-rw-r--r--scripts/build_nuget_package.bat11
-rw-r--r--scripts/nuget.autopkg50
2 files changed, 61 insertions, 0 deletions
diff --git a/scripts/build_nuget_package.bat b/scripts/build_nuget_package.bat
new file mode 100644
index 0000000..3715832
--- /dev/null
+++ b/scripts/build_nuget_package.bat
@@ -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
diff --git a/scripts/nuget.autopkg b/scripts/nuget.autopkg
new file mode 100644
index 0000000..88379f8
--- /dev/null
+++ b/scripts/nuget.autopkg
@@ -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;
+ }
+ }
+}