Skip to content
This repository has been archived by the owner on Nov 19, 2020. It is now read-only.

Commit

Permalink
Updating packaging script to exclude temporary files.
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarsouza committed Jul 2, 2017
1 parent 540f862 commit 5223b82
Showing 1 changed file with 21 additions and 10 deletions.
31 changes: 21 additions & 10 deletions Setup/Archiver/package-framework.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -40,21 +40,26 @@ 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"
%rar% %opts% %output% "..\..\License.txt"
%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%


Expand All @@ -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%


Expand Down

0 comments on commit 5223b82

Please sign in to comment.