From 5223b827184df92dfc014cfd3d6a9a24942c2cb2 Mon Sep 17 00:00:00 2001 From: Cesar Souza Date: Sun, 2 Jul 2017 14:48:54 +0200 Subject: [PATCH] Updating packaging script to exclude temporary files. --- Setup/Archiver/package-framework.cmd | 31 +++++++++++++++++++--------- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/Setup/Archiver/package-framework.cmd b/Setup/Archiver/package-framework.cmd index 8718b08a6..766334465 100644 --- a/Setup/Archiver/package-framework.cmd +++ b/Setup/Archiver/package-framework.cmd @@ -40,7 +40,7 @@ mkdir ..\bin set output=..\bin\%fullname% del %output% -set ignore=-x*.tmp -x*\.vs -x*.suo -x*.user -x*.vsp -x*.pidb -x*SlimDX.pdb -x*.sdf -x*\obj -x*\.svn* -x*.lastcodeanalysissucceeded -x*.CodeAnalysisLog.xml -x*.VC.db -x*.VC.opendb +set ignore=-x*.tmp -x*\.vs -x*.suo -x*.user -x*.vsp -x*.pidb -x*SlimDX.pdb -x*.sdf -x*\obj -x*\.svn* -x*.lastcodeanalysissucceeded -x*.CodeAnalysisLog.xml -x*.VC.db -x*.VC.opendb -x*.tmp %rar% %opts% %output% "..\..\Contributors.txt" %rar% %opts% %output% "..\..\Copyright.txt" @@ -48,13 +48,18 @@ set ignore=-x*.tmp -x*\.vs -x*.suo -x*.user -x*.vsp -x*.pidb -x*SlimDX.pdb -x*.s %rar% %opts% %output% "..\..\Release notes.txt" %rar% %opts% %output% "..\..\Version.txt" %rar% %opts% %output% "..\..\Docs\*.chm" -%rar% %opts% -r %output% "..\..\Release\*" %ignore% -%rar% %opts% -r %output% "..\..\Debug\*" %ignore% -%rar% %opts% -r %output% "..\..\Sources\*" %ignore% -x*\TestResults -x*\Accord.Music -x*.shfbproj_* -%rar% %opts% -r %output% "..\..\Unit Tests\*" %ignore% -x*\bin -x*\TestResults -x*\Accord.Music -x*.shfbproj_* -%rar% %opts% -r %output% "..\..\Samples\*" %ignore% -x*\bin\x64\ -x*\bin\Debug -x*\bin\Release -x*\bin\x86\Debug -x"*\bin\x86\Release 3.5" -x*\packages -%rar% %opts% -r %output% "..\..\Externals\*" %ignore% -x*.pdb -%rar% %opts% -r %output% "..\..\Setup\*" %ignore% -x*\bin +%rar% %opts% -r %output% "..\..\Release\mono" %ignore% +%rar% %opts% -r %output% "..\..\Release\net35" %ignore% +%rar% %opts% -r %output% "..\..\Release\net40" %ignore% +%rar% %opts% -r %output% "..\..\Release\net45" %ignore% +%rar% %opts% -r %output% "..\..\Release\net46" %ignore% +%rar% %opts% -r %output% "..\..\Release\net462" %ignore% +%rar% %opts% -r %output% "..\..\Release\netstandard2.0" %ignore% +%rar% %opts% -r %output% "..\..\Sources\*" %ignore% -x*\TestResults -x*\Accord.Music -x*.shfbproj_* +%rar% %opts% -r %output% "..\..\Unit Tests\*" %ignore% -x*\bin -x*\TestResults -x*\Accord.Music -x*.shfbproj_* +%rar% %opts% -r %output% "..\..\Samples\*" %ignore% -x*\bin\x64\ -x*\bin\Debug -x*\bin\Release -x*\bin\x86\Debug -x"*\bin\x86\Release 3.5" -x*\packages +%rar% %opts% -r %output% "..\..\Externals\*" %ignore% -x*.pdb +%rar% %opts% -r %output% "..\..\Setup\*" %ignore% -x*\bin %rar% t %output% @@ -73,8 +78,14 @@ del %output% %rar% %opts% %output% "..\..\License.txt" %rar% %opts% %output% "..\..\Release notes.txt" %rar% %opts% %output% "..\..\Version.txt" -%rar% %opts% -r %output% "..\..\Release\*" %ignore% -%rar% %opts% -r %output% "..\..\Debug\*" %ignore% +%rar% %opts% -r %output% "..\..\Release\mono" %ignore% +%rar% %opts% -r %output% "..\..\Release\net35" %ignore% +%rar% %opts% -r %output% "..\..\Release\net40" %ignore% +%rar% %opts% -r %output% "..\..\Release\net45" %ignore% +%rar% %opts% -r %output% "..\..\Release\net46" %ignore% +%rar% %opts% -r %output% "..\..\Release\net462" %ignore% +%rar% %opts% -r %output% "..\..\Release\netstandard2.0" %ignore% +:: %rar% %opts% -r %output% "..\..\Debug\*" %ignore% %rar% t %output%