<commit_before>@ECHO OFF

CALL :setvars
SET cmd=%1
IF "%cmd%"=="" SET cmd=all
GOTO %cmd%

:all
devenv /rebuild "%config%|Any CPU" "%name%.sln"
GOTO :eof

:setvars
CALL :vs
SET name=IronAHK
SET libname=Rusty
SET config=Release
SET outdir=bin
SET site=Site
GOTO :eof

:vs
csc 2>NUL > NUL
IF "%ERRORLEVEL%" NEQ 9009 GOTO :eof
IF NOT DEFINED VS90COMNTOOLS (
	ECHO Visual Studio 9.0 is not installed.
	EXIT 1
)
CALL "%VS90COMNTOOLS%\vsvars32.bat"
GOTO :eof

:docs
SET dir=%name%\%outdir%\%config%
SET id=%name%.%libname%
IF NOT EXIST "%dir%" MD "%dir%"
csc "/doc:%dir%\%id%.xml" /reference:System.Windows.Forms.dll,System.Drawing.dll "/out:%dir%\%id%.dll" /target:library "/recurse:%libname%\*.cs" /unsafe /warn:0
php-cgi -f "%name%\%site%\transform.php"
GOTO :eof
<commit_msg>Fixed Windows make script to set paths correctly.<commit_after>@ECHO OFF

CALL :setvars
SET cmd=%1
IF "%cmd%"=="" SET cmd=all
GOTO %cmd%

:all
devenv /rebuild "%config%|Any CPU" "%name%.sln"
GOTO :eof

:setvars
CALL :vs
SET name=IronAHK
SET libname=Rusty
SET config=Release
SET outdir=bin
SET site=Site
GOTO :eof

:vs
IF DEFINED VSSETVARS GOTO :eof
IF NOT DEFINED VS90COMNTOOLS (
	ECHO Visual Studio 9.0 is not installed.
	EXIT 1
)
CALL "%VS90COMNTOOLS%\vsvars32.bat"
SET VSSETVARS=1
GOTO :eof

:docs
SET dir=%name%\%outdir%\%config%
SET id=%name%.%libname%
IF NOT EXIST "%dir%" MD "%dir%"
csc "/doc:%dir%\%id%.xml" /reference:System.Windows.Forms.dll,System.Drawing.dll "/out:%dir%\%id%.dll" /target:library "/recurse:%libname%\*.cs" /unsafe /warn:0
php-cgi -f "%name%\%site%\transform.php"
GOTO :eof

{'fraction_non_alphanumeric': 0.17026683608640406, 'fraction_numerical': 0.017789072426937738, 'mean_word_length': 5.011450381679389, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '4770234', 'n_tokens_mistral': 706, 'n_tokens_neox': 656, 'n_words': 177}