<commit_before>@echo off

pushd %~dp0

IF "%APPVEYOR_REPO_BRANCH%"=="" ( 
	SET WYAM=%USERPROFILE%\.nuget\packages\wyam\1.4.1\tools\net462\Wyam.exe
	git rev-parse HEAD > head.txt
	set /p GitRevision=<head.txt
	del head.txt
	for /F "tokens=3 delims=/" %%i in (..\.git\HEAD) do SET GitBranch=%%i
)
ELSE (
	SET GitBranch=%APPVEYOR_REPO_BRANCH%
)

rmdir /S /Q input\assets\js\alphaTab
xcopy ..\Build\JavaScript input\assets\js\alphaTab\ /Y /S

echo GitRevision=%GitRevision% GitBranch=%GitBranch% LinkRoot=%GitBranch%
%WYAM% build --setting GitRevision=%GitRevision% --setting GitBranch=%GitBranch% --setting LinkRoot=%GitBranch%

popd<commit_msg>fix syntax error in documentation generation<commit_after>@echo off

pushd %~dp0

SET GitBranch=%APPVEYOR_REPO_BRANCH%
IF "%GitBranch%"=="" ( 
	SET WYAM=%USERPROFILE%\.nuget\packages\wyam\1.4.1\tools\net462\Wyam.exe
	git rev-parse HEAD > head.txt
	set /p GitRevision=<head.txt
	del head.txt
	for /F "tokens=3 delims=/" %%i in (..\.git\HEAD) do SET GitBranch=%%i
)

rmdir /S /Q input\assets\js\alphaTab
xcopy ..\Build\JavaScript input\assets\js\alphaTab\ /Y /S

echo GitRevision=%GitRevision% GitBranch=%GitBranch% LinkRoot=%GitBranch%
%WYAM% build --setting GitRevision=%GitRevision% --setting GitBranch=%GitBranch% --setting LinkRoot=%GitBranch%

popd
{'fraction_non_alphanumeric': 0.1561051004636785, 'fraction_numerical': 0.012364760432766615, 'mean_word_length': 4.730088495575221, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '7628074', 'n_tokens_mistral': 535, 'n_tokens_neox': 513, 'n_words': 107}