diff options
author | nulltoken <emeric.fermas@gmail.com> | 2011-06-13 15:58:33 +0400 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2011-06-13 16:53:21 +0400 |
commit | 7f862ab8f0cf37a55329ab9e2aaec1fb0be82fa7 (patch) | |
tree | c09d52add7300980d58ea77225fcbc48ea3f99ca /nuget.package/build.nuget.package.cmd | |
parent | cbcd51bb1932075ab5574020b8f0e57b9ca74de7 (diff) |
Tweak packaging script
- Make it cope with paths containing spaces
- Replace <authors/> with a NuGet token
Diffstat (limited to 'nuget.package/build.nuget.package.cmd')
-rw-r--r-- | nuget.package/build.nuget.package.cmd | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nuget.package/build.nuget.package.cmd b/nuget.package/build.nuget.package.cmd index d34a6d15..f4a708d3 100644 --- a/nuget.package/build.nuget.package.cmd +++ b/nuget.package/build.nuget.package.cmd @@ -2,12 +2,12 @@ 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% +copy "%BASEDIR%LibGit2Sharp.nuspec" "%SRCDIR%" -pushd %BASEDIR% +pushd "%BASEDIR%" -..\Lib\NuGet\NuGet.exe pack -sym %SRCDIR%LibGit2Sharp.csproj +..\Lib\NuGet\NuGet.exe pack -sym "%SRCDIR%LibGit2Sharp.csproj" popd -del %SRCDIR%LibGit2Sharp.nuspec +del "%SRCDIR%LibGit2Sharp.nuspec" |