<commit_before>@echo off

call :clean .\build

CALL dotnet restore .\src\Zeus

call :publish debian.8.2-x64 netcoreapp1.0

call :publish win10-x64 net46

call :publish win10-x86 net46

call :publish centos.7-x64 netcoreapp1.0

call :publish ubuntu.15.04-x64 netcoreapp1.0


















EXIT /B 0

:publish
SET runtime=%~1
SET framework=%~2

SET toolLocation=%LocalAppData%\%tool%\%tool%.exe
if "%runtime%"=="" (
    echo "Runtime name not set"
	EXIT /B 0
)

if "%framework%"=="" (
    echo "Framework Url not set"
	EXIT /B 0
)
echo "Building for %runtime% targeting %framework%"

CALL dotnet publish .\src\Zeus -o .\build\Release\%runtime% -r %runtime% -f %framework% -c Release

set zip="C:\Program Files\7-Zip\7z.exe"

echo Publishing .\build\Release\%runtime%.zip

%zip% a -tzip .\build\Release\%runtime%.zip .\build\Release\%runtime%
EXIT /B 0

:clean
set targetdir=%~1
del /q %targetdir%\*
for /d %%x in (%targetdir%\*) do @rd /s /q ^"%%x^"
EXIT /B 0

:use-tool
SET tool=%~1
SET url=%~2

if "%~3"=="" (
    SET toolLocation=%LocalAppData%\%tool%\%tool%.exe
) else (
	SET toolLocation=%LocalAppData%\%tool%\%tool%.%~3
)<commit_msg>Changed runtime build artifacts name<commit_after>@echo off

call :clean .\build

CALL dotnet restore .\src\Zeus

call :publish debian.8.2-x64 netcoreapp1.0

call :publish win10-x64 net46

call :publish win10-x86 net46

call :publish centos.7-x64 netcoreapp1.0

call :publish ubuntu.15.04-x64 netcoreapp1.0


















EXIT /B 0

:publish
SET runtime=%~1
SET framework=%~2

SET toolLocation=%LocalAppData%\%tool%\%tool%.exe
if "%runtime%"=="" (
    echo "Runtime name not set"
	EXIT /B 0
)

if "%framework%"=="" (
    echo "Framework Url not set"
	EXIT /B 0
)
echo "Building for %runtime% targeting %framework%"

CALL dotnet publish .\src\Zeus -o .\build\Release\%runtime% -r %runtime% -f %framework% -c Release

set zip="C:\Program Files\7-Zip\7z.exe"

echo Publishing .\build\Release\%runtime%.zip

%zip% a -tzip .\build\Release\zeus-%runtime%.zip .\build\Release\%runtime%
EXIT /B 0

:clean
set targetdir=%~1
del /q %targetdir%\*
for /d %%x in (%targetdir%\*) do @rd /s /q ^"%%x^"
EXIT /B 0

:use-tool
SET tool=%~1
SET url=%~2

if "%~3"=="" (
    SET toolLocation=%LocalAppData%\%tool%\%tool%.exe
) else (
	SET toolLocation=%LocalAppData%\%tool%\%tool%.%~3
)
{'fraction_non_alphanumeric': 0.17215958369470946, 'fraction_numerical': 0.03902862098872507, 'mean_word_length': 3.5773809523809526, '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': '2048557', 'n_tokens_mistral': 935, 'n_tokens_neox': 866, 'n_words': 248}