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/build.nuget.package.cmd
parent13b7f4a4da3e7508c2fa9994309982ad3074a294 (diff)
Added symbolsource support to the nuget package
Diffstat (limited to 'nuget.package/build.nuget.package.cmd')
-rw-r--r--nuget.package/build.nuget.package.cmd10
1 files changed, 8 insertions, 2 deletions
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