<commit_before>@echo off
::Env
set MSBuild="%ProgramFiles(x86)%\MSBuild\12.0\Bin\MSBuild.exe"

::Clean
del /F /S /Q lib\proto
del /F /S /Q lib\release

::Build
%MSBUILD% src\fsharp-proto-build.proj
ngen install lib\proto\fsc-proto.exe
%MSBUILD% src\fsharp-library-build.proj /p:TargetFramework=net40 /p:Configuration=Release
%MSBUILD% src\fsharp-compiler-build.proj /p:TargetFramework=net40 /p:Configuration=Release
%MSBUILD% src\fsharp-library-build.proj /p:TargetFramework=net20 /p:Configuration=Release
%MSBUILD% src\fsharp-library-build.proj /p:TargetFramework=portable47 /p:Configuration=Release
%MSBUILD% src\fsharp-library-build.proj /p:TargetFramework=portable7 /p:Configuration=Release
%MSBUILD% src\fsharp-library-build.proj /p:TargetFramework=portable78 /p:Configuration=Release
%MSBUILD% src\fsharp-library-build.proj /p:TargetFramework=portable259 /p:Configuration=Release
%MSBUILD% src\fsharp-library-build.proj /p:TargetFramework=sl5 /p:Configuration=Release<commit_msg>build.bat : msbuild support more platforms<commit_after>@echo off

:: Check prerequisites
set _msbuildexe="%ProgramFiles(x86)%\MSBuild\12.0\Bin\MSBuild.exe"
if not exist %_msbuildexe% set _msbuildexe="%ProgramFiles%\MSBuild\12.0\Bin\MSBuild.exe"
if not exist %_msbuildexe% set _msbuildexe="%ProgramFiles(x86)%\MSBuild\14.0\Bin\MSBuild.exe"
if not exist %_msbuildexe% set _msbuildexe="%ProgramFiles%\MSBuild\14.0\Bin\MSBuild.exe"
if not exist %_msbuildexe% echo Error: Could not find MSBuild.exe.  Please see http://www.microsoft.com/en-us/download/details.aspx?id=40760. && goto :eof

::Clean
del /F /S /Q lib\proto
del /F /S /Q lib\release

::Build
%_msbuildexe% src\fsharp-proto-build.proj
ngen install lib\proto\fsc-proto.exe
%_msbuildexe% src\fsharp-library-build.proj /p:TargetFramework=net40 /p:Configuration=Release
%_msbuildexe% src\fsharp-compiler-build.proj /p:TargetFramework=net40 /p:Configuration=Release
%_msbuildexe% src\fsharp-library-build.proj /p:TargetFramework=net20 /p:Configuration=Release
%_msbuildexe% src\fsharp-library-build.proj /p:TargetFramework=portable47 /p:Configuration=Release
%_msbuildexe% src\fsharp-library-build.proj /p:TargetFramework=portable7 /p:Configuration=Release
%_msbuildexe% src\fsharp-library-build.proj /p:TargetFramework=portable78 /p:Configuration=Release
%_msbuildexe% src\fsharp-library-build.proj /p:TargetFramework=portable259 /p:Configuration=Release
%_msbuildexe% src\fsharp-library-build.proj /p:TargetFramework=sl5 /p:Configuration=Release
{'fraction_non_alphanumeric': 0.1360708534621578, 'fraction_numerical': 0.02254428341384863, 'mean_word_length': 6.6461538461538465, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2907362', 'n_tokens_mistral': 973, 'n_tokens_neox': 895, 'n_words': 145}