Skip to content

Commit

Permalink
Update nuget script
Browse files Browse the repository at this point in the history
  • Loading branch information
Deadpikle committed Feb 10, 2019
1 parent 9d784d2 commit 6554921
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions NetSparklePackNuget.cmd
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
@echo off

if "%~1"=="" (
echo Error: A version number is required
echo Usage: "NetSparklePackNuget.cmd [VersionNumber]"
exit
)

echo Cleanup NuGet environment
rmdir /S /Q Nuget\core\lib
rmdir /S /Q Nuget\core\content
Expand Down Expand Up @@ -28,6 +34,7 @@ del /q Nuget\core\lib\*.pdb
echo Copy Tools Buildoutput to Nuget dir
xcopy /s /q /y bin\Release\NetSparkleChecker\* Nuget\tools\tools\
xcopy /s /q /y bin\Release\DSAHelper\* Nuget\tools\tools\
xcopy /s /q /y bin\Release\NetSparkleGenerator\* Nuget\tools\tools\
xcopy /s /q /y Extras\* Nuget\tools\content\Extras\
del /q Nuget\tools\tools\*.config
del /q Nuget\tools\tools\*.pdb
Expand Down

0 comments on commit 6554921

Please sign in to comment.