Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2sharp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavidebbo <david.ebbo@microsoft.com>2011-06-13 03:39:13 +0400
committerdavidebbo <david.ebbo@microsoft.com>2011-06-13 03:39:13 +0400
commitcbcd51bb1932075ab5574020b8f0e57b9ca74de7 (patch)
treefa5b9c4ee0322c02c738fb1fa3e2753639455477 /nuget.package
parent13b7f4a4da3e7508c2fa9994309982ad3074a294 (diff)
Added symbolsource support to the nuget package
Diffstat (limited to 'nuget.package')
-rw-r--r--nuget.package/LibGit2Sharp.nuspec11
-rw-r--r--nuget.package/build.nuget.package.cmd10
2 files changed, 12 insertions, 9 deletions
diff --git a/nuget.package/LibGit2Sharp.nuspec b/nuget.package/LibGit2Sharp.nuspec
index dfec7050..ccd98750 100644
--- a/nuget.package/LibGit2Sharp.nuspec
+++ b/nuget.package/LibGit2Sharp.nuspec
@@ -1,24 +1,21 @@
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
- <id>LibGit2Sharp</id>
- <version>0.2.0</version>
+ <id>$id$</id>
+ <version>$version$</version>
<authors>LibGit2Sharp contributors</authors>
<owners>nulltoken</owners>
<licenseUrl>https://github.com/libgit2/libgit2sharp/raw/master/LICENSE.md</licenseUrl>
<projectUrl>https://github.com/libgit2/libgit2sharp/</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
- <description>.Net bindings for libgit2</description>
+ <description>$description$</description>
<tags>libgit2 git wrapper bindings API</tags>
</metadata>
<files>
- <file src="..\build\LibGit2Sharp.dll" target="lib\Net35" />
- <file src="..\build\LibGit2Sharp.pdb" target="lib\Net35" />
- <file src="..\build\LibGit2Sharp.xml" target="lib\Net35" />
<file src="..\build\git2.dll" target="NativeBinaries\x86" />
<file src="..\README.md" target="App_Readme\LibGit2Sharp.README.md" />
<file src="..\LICENSE.md" target="App_Readme\LibGit2Sharp.LICENSE.md" />
<file src="..\CHANGELOG.md" target="App_Readme\LibGit2Sharp.CHANGELOG.md" />
- <file src="Tools\*.*" target="Tools" />
+ <file src="..\nuget.package\Tools\*.*" target="Tools" />
</files>
</package> \ No newline at end of file
diff --git a/nuget.package/build.nuget.package.cmd b/nuget.package/build.nuget.package.cmd
index 63c07d85..d34a6d15 100644
--- a/nuget.package/build.nuget.package.cmd
+++ b/nuget.package/build.nuget.package.cmd
@@ -1,7 +1,13 @@
SET BASEDIR=%~dp0
+SET SRCDIR=%BASEDIR%..\LibGit2Sharp\
+
+REM the nuspec file needs to be next to the csproj, so copy it there during the pack operation
+copy %BASEDIR%LibGit2Sharp.nuspec %SRCDIR%
pushd %BASEDIR%
-..\Lib\NuGet\NuGet.exe pack ./LibGit2Sharp.nuspec
+..\Lib\NuGet\NuGet.exe pack -sym %SRCDIR%LibGit2Sharp.csproj
+
+popd
-popd \ No newline at end of file
+del %SRCDIR%LibGit2Sharp.nuspec