Permalink
Browse files

Preparations for next release.

  • Loading branch information...
1 parent 2722ba1 commit ee67f6922a00b33e0b9f30087688ee49b4ce3180 @cesarsouza cesarsouza committed Jan 9, 2017
@@ -40,18 +40,21 @@ 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
+
%rar% %opts% %output% "..\..\Contributors.txt"
%rar% %opts% %output% "..\..\Copyright.txt"
%rar% %opts% %output% "..\..\License.txt"
%rar% %opts% %output% "..\..\Release notes.txt"
-%rar% %opts% %output% "..\..\Docs\*.chm" -x*\.svn*
-%rar% %opts% -r %output% "..\..\Release\*" -x*\.svn* -x*.lastcodeanalysissucceeded -x*.CodeAnalysisLog.xml -x*SlimDX.pdb
-%rar% %opts% -r %output% "..\..\Debug\*" -x*\.svn* -x*.lastcodeanalysissucceeded -x*.CodeAnalysisLog.xml -x*SlimDX.pdb
-%rar% %opts% -r %output% "..\..\Sources\*" -x*\.svn* -x*\obj -x*\bin -x*\TestResults -x*\Accord.Music -x*.sdf -x*.suo -x*.user -x*.shfbproj_* -x*.vsp -x*.pidb
-%rar% %opts% -r %output% "..\..\Unit Tests\*" -x*\.svn* -x*\obj -x*\bin -x*\TestResults -x*\Accord.Music -x*.sdf -x*.suo -x*.user -x*.shfbproj_* -x*.vsp -x*.pidb
-%rar% %opts% -r %output% "..\..\Samples\*" -x*\.svn* -x*\obj -x*\bin\x64\ -x*\bin\Debug -x*\bin\Release -x*\bin\x86\Debug -x"*\bin\x86\Release 3.5" -x*.pdb -x*.user -x*.vsp -x*.pidb -x*\packages
-%rar% %opts% -r %output% "..\..\Externals\*" -x*\.svn* -x*.pdb
-%rar% %opts% -r %output% "..\..\Setup\*" -x*\.svn* -x*\obj -x*\bin -x*.user
+%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% t %output%
@@ -69,7 +72,9 @@ del %output%
%rar% %opts% %output% "..\..\Copyright.txt"
%rar% %opts% %output% "..\..\License.txt"
%rar% %opts% %output% "..\..\Release notes.txt"
-%rar% %opts% -r %output% "..\..\Release\*" -x*\.svn* -x*.lastcodeanalysissucceeded -x*.CodeAnalysisLog.xml -x*SlimDX.pdb
+%rar% %opts% %output% "..\..\Version.txt"
+%rar% %opts% -r %output% "..\..\Release\*" %ignore%
+%rar% %opts% -r %output% "..\..\Debug\*" %ignore%
%rar% t %output%
@@ -8,9 +8,7 @@ echo =========================================================
:: Update version numbers
-cd Scripts
cmd /c "update-version.cmd"
-cd ..
:: Compile sources
cd ..
@@ -59,6 +59,7 @@
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
<DocumentationFile>$(SolutionDir)..\Release\net45\Accord.MachineLearning.XML</DocumentationFile>
<CodeAnalysisLogFile>$(SolutionDir)..\Release\net45\Accord.MachineLearning.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>
+ <RunCodeAnalysis>false</RunCodeAnalysis>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'NET46|AnyCPU'">
<OutputPath>$(SolutionDir)..\Release\net46</OutputPath>
@@ -56,6 +56,7 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'NET45|AnyCPU'">
<OutputPath>$(SolutionDir)..\Release\net45</OutputPath>
<DefineConstants>TRACE;NET45</DefineConstants>
+ <RunCodeAnalysis>false</RunCodeAnalysis>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
<DocumentationFile>$(SolutionDir)..\Release\net45\Accord.Math.Core.XML</DocumentationFile>
<CodeAnalysisLogFile>$(SolutionDir)..\Release\net45\Accord.Math.Core.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>
@@ -61,6 +61,7 @@
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
<DocumentationFile>$(SolutionDir)..\Release\net45\Accord.Math.XML</DocumentationFile>
<CodeAnalysisLogFile>$(SolutionDir)..\Release\net45\Accord.Math.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>
+ <RunCodeAnalysis>false</RunCodeAnalysis>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'NET46|AnyCPU'">
<OutputPath>$(SolutionDir)..\Release\net46</OutputPath>
Oops, something went wrong.
@@ -57,6 +57,7 @@
<OutputPath>$(SolutionDir)..\Release\net45</OutputPath>
<DefineConstants>TRACE;CODE_ANALYSIS;NET45</DefineConstants>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
+ <RunCodeAnalysis>False</RunCodeAnalysis>
<DocumentationFile>$(SolutionDir)..\Release\net45\Accord.Statistics.XML</DocumentationFile>
<CodeAnalysisLogFile>$(SolutionDir)..\Release\net45\Accord.Statistics.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>
</PropertyGroup>
@@ -69,6 +70,7 @@
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Mono|AnyCPU'">
<OutputPath>$(SolutionDir)..\Release\mono</OutputPath>
+ <IntermediateOutputPath>obj\mono</IntermediateOutputPath>
<DefineConstants>TRACE;CODE_ANALYSIS;MONO</DefineConstants>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<DocumentationFile>$(SolutionDir)..\Release\mono\Accord.Statistics.XML</DocumentationFile>
@@ -42,15 +42,15 @@
<DefineConstants>TRACE;NET35</DefineConstants>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<RunCodeAnalysis>false</RunCodeAnalysis>
- <DocumentationFile>$(SolutionDir)..\Release\net45\Noncommercial\Accord.Imaging.Noncommercial.XML</DocumentationFile>
+ <DocumentationFile>$(SolutionDir)..\Release\net35\Noncommercial\Accord.Imaging.Noncommercial.XML</DocumentationFile>
<CodeAnalysisLogFile>$(SolutionDir)..\Release\net35\Noncommercial\Accord.Imaging.Noncommercial.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'NET40|AnyCPU' ">
<OutputPath>$(SolutionDir)..\Release\net40\Noncommercial\</OutputPath>
<DefineConstants>TRACE;NET40</DefineConstants>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<RunCodeAnalysis>false</RunCodeAnalysis>
- <DocumentationFile>$(SolutionDir)..\Release\net45\Noncommercial\Accord.Imaging.Noncommercial.XML</DocumentationFile>
+ <DocumentationFile>$(SolutionDir)..\Release\net40\Noncommercial\Accord.Imaging.Noncommercial.XML</DocumentationFile>
<CodeAnalysisLogFile>$(SolutionDir)..\Release\net40\Noncommercial\Accord.Imaging.Noncommercial.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'NET45|AnyCPU'">
@@ -41,21 +41,23 @@
<OutputPath>$(SolutionDir)..\Release\net35\Noncommercial\</OutputPath>
<DefineConstants>TRACE;CODE_ANALYSIS;NET35</DefineConstants>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
- <RunCodeAnalysis>true</RunCodeAnalysis>
+ <RunCodeAnalysis>false</RunCodeAnalysis>
<DocumentationFile>$(SolutionDir)..\Release\net35\Noncommercial\Accord.Math.Noncommercial.XML</DocumentationFile>
<CodeAnalysisLogFile>$(SolutionDir)..\Release\net35\Noncommercial\Accord.Math.Noncommercial.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'NET40|AnyCPU' ">
<OutputPath>$(SolutionDir)..\Release\net40\Noncommercial\</OutputPath>
<DefineConstants>TRACE;CODE_ANALYSIS;NET40</DefineConstants>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+ <RunCodeAnalysis>false</RunCodeAnalysis>
<DocumentationFile>$(SolutionDir)..\Release\net40\Noncommercial\Accord.Math.Noncommercial.XML</DocumentationFile>
<CodeAnalysisLogFile>$(SolutionDir)..\Release\net40\Noncommercial\Accord.Math.Noncommercial.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'NET45|AnyCPU'">
<OutputPath>$(SolutionDir)..\Release\net45\Noncommercial\</OutputPath>
<DefineConstants>TRACE;CODE_ANALYSIS;NET45</DefineConstants>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
+ <RunCodeAnalysis>false</RunCodeAnalysis>
<DocumentationFile>$(SolutionDir)..\Release\net45\Noncommercial\Accord.Math.Noncommercial.XML</DocumentationFile>
<CodeAnalysisLogFile>$(SolutionDir)..\Release\net45\Noncommercial\Accord.Math.Noncommercial.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>
<NoWarn>0612, 0618</NoWarn>
@@ -11,6 +11,11 @@ for /r %sources% %%F in (*.csproj) do (
%notepad% %%F
)
+for /r %sources% %%F in (*.vcxproj) do (
+ echo %%F
+ %notepad% %%F
+)
+
echo %unitest%
for /r %unitest% %%F in (*.csproj) do (
echo %%F

0 comments on commit ee67f69

Please sign in to comment.