<commit_before>@echo off

set THISDIR=%~dp0
set NUGET=%THISDIR%\.nuget\Nuget.exe
set NUGETDIR=%THISDIR%\.nuget\
set SOLUTIONDIR=%THISDIR%
set NUSPECDIR=%THISDIR%\ReactiveDomain
set TESTNUSPECDIR=%THISDIR%\ReactiveDomain.Tests

%NUGET% update -self

echo Restore all nugets
%NUGET% restore %SOLUTIONDIR%\ReactiveDomain.sln -NoCache -NonInteractive -ConfigFile %NUGETDIR%MyGet.NuGet.Config


echo Building the ReactiveDomain Solution...
"%programfiles(x86)%\MSBuild\14.0\Bin\MSBuild.exe" %SOLUTIONDIR%\ReactiveDomain.sln /p:Configuration="Debug" /m /v:M /fl /flp:LogFile=msbuild.log;Verbosity=Normal /nr:false


REM Make ReactiveDomain Nuget ***********************************************************************************************

echo Updating ReactiveDomain NuGet version in nuspec file...
PowerShell.exe -ExecutionPolicy Bypass -Command "& '%SOLUTIONDIR%\Tools\UpdateNugetVersion.ps1'"

echo Package ReactiveDomain NuGet using the nuspec file...
pushd %NUSPECDIR%
%NUGET% pack ReactiveDomain.nuspec
popd

echo Push the nuget to PKI private feed
%NUGET% push %NUSPECDIR%\*.nupkg %APIKEY% -source %PKIFEED%



REM Make ReactiveDomain.Tests Nuget ***********************************************************************************************

echo Updating ReactiveDomain.Tests NuGet version in nuspec file...
PowerShell.exe -ExecutionPolicy Bypass -Command "& '%SOLUTIONDIR%\Tools\UpdateTestsNugetVersion.ps1'"

echo Package using the nuspec file...
pushd %TESTNUSPECDIR%
%NUGET% pack ReactiveDomain.Tests.nuspec
popd

echo Push the nuget to PKI private feed
%NUGET% push %TESTNUSPECDIR%\*.nupkg %APIKEY% -source %PKIFEED%<commit_msg>Update build.cmd<commit_after>@echo off

set THISDIR=%~dp0
set NUGET=%THISDIR%\.nuget\Nuget.exe
set NUGETDIR=%THISDIR%\.nuget\
set SOLUTIONDIR=%THISDIR%
set NUSPECDIR=%THISDIR%\ReactiveDomain
set TESTNUSPECDIR=%THISDIR%\ReactiveDomain.Tests

%NUGET% update -self

echo Restore all nugets
%NUGET% restore %SOLUTIONDIR%\ReactiveDomain.sln -NoCache -NonInteractive -ConfigFile %NUGETDIR%MyGet.NuGet.Config


echo Building the ReactiveDomain Solution...
"%programfiles(x86)%\MSBuild\14.0\Bin\MSBuild.exe" %SOLUTIONDIR%\ReactiveDomain.sln /p:Configuration=Debug;RestorePackages=false /m /v:M /fl /flp:LogFile=msbuild.log;Verbosity=Normal /nr:false


REM Make ReactiveDomain Nuget ***********************************************************************************************

echo Updating ReactiveDomain NuGet version in nuspec file...
PowerShell.exe -ExecutionPolicy Bypass -Command "& '%SOLUTIONDIR%\Tools\UpdateNugetVersion.ps1'"

echo Package ReactiveDomain NuGet using the nuspec file...
pushd %NUSPECDIR%
%NUGET% pack ReactiveDomain.nuspec
popd

echo Push the nuget to PKI private feed
%NUGET% push %NUSPECDIR%\*.nupkg %APIKEY% -source %PKIFEED%



REM Make ReactiveDomain.Tests Nuget ***********************************************************************************************

echo Updating ReactiveDomain.Tests NuGet version in nuspec file...
PowerShell.exe -ExecutionPolicy Bypass -Command "& '%SOLUTIONDIR%\Tools\UpdateTestsNugetVersion.ps1'"

echo Package using the nuspec file...
pushd %TESTNUSPECDIR%
%NUGET% pack ReactiveDomain.Tests.nuspec
popd

echo Push the nuget to PKI private feed
%NUGET% push %TESTNUSPECDIR%\*.nupkg %APIKEY% -source %PKIFEED%
{'fraction_non_alphanumeric': 0.21136982159056547, 'fraction_numerical': 0.004838221953432114, 'mean_word_length': 6.501133786848072, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1978801', 'n_tokens_mistral': 1146, 'n_tokens_neox': 1045, 'n_words': 258}