<commit_before>@echo off
if "%1" == "" goto error

set BASE_DIR=c:\mysql++
set INST_INC_DIR=%BASE_DIR%\include
set INST_LIB_DIR=%BASE_DIR%\%1

if not exist %BASE_DIR% mkdir %BASE_DIR%
if not exist %INST_INC_DIR% mkdir %INST_INC_DIR%
if not exist %INST_LIB_DIR% mkdir %INST_LIB_DIR%
if not exist %INST_LIB_DIR%\debug mkdir %INST_LIB_DIR%\debug
if not exist %INST_LIB_DIR%\release mkdir %INST_LIB_DIR%\release

copy lib\*.h "%INST_INC_DIR%" > NUL

if exist debug\*.a goto install_mingw
copy debug\*.dll "%INST_LIB_DIR%\debug" > NUL
copy debug\*.lib "%INST_LIB_DIR%\debug" > NUL
copy release\*.dll "%INST_LIB_DIR%\release" > NUL
copy release\*.lib "%INST_LIB_DIR%\release" > NUL
goto install_done
:install_mingw
copy debug\*.a "%INST_LIB_DIR%\debug" > NUL
copy release\*.a "%INST_LIB_DIR%\release" > NUL

:install_done
echo MySQL++ (%1 version) installed successfully!
goto end

:error
echo usage: install [subdir]
echo.
echo 	Installs MySQL++ into the given subdirectory of %BASE_DIR%

:end
<commit_msg>Fixed some path handling in MinGW build that assumed you got a release and a debug version, like with VC++.  It now assumes its always a debug version, and warns user that they need to do a manual install if they managed to coax a release version out of the build system.<commit_after>@echo off
if "%1" == "" goto error

set BASE_DIR=c:\mysql++
set INST_INC_DIR=%BASE_DIR%\include
set INST_LIB_DIR=%BASE_DIR%\%1

if not exist %BASE_DIR% mkdir %BASE_DIR%
if not exist %INST_INC_DIR% mkdir %INST_INC_DIR%
if not exist %INST_LIB_DIR% mkdir %INST_LIB_DIR%
if not exist %INST_LIB_DIR%\debug mkdir %INST_LIB_DIR%\debug
if not exist %INST_LIB_DIR%\release mkdir %INST_LIB_DIR%\release

copy lib\*.h "%INST_INC_DIR%" > NUL

if exist *.a goto install_mingw
copy debug\*.dll "%INST_LIB_DIR%\debug" > NUL
copy debug\*.lib "%INST_LIB_DIR%\debug" > NUL
copy release\*.dll "%INST_LIB_DIR%\release" > NUL
copy release\*.lib "%INST_LIB_DIR%\release" > NUL
goto install_done
:install_mingw
copy *.a "%INST_LIB_DIR%\debug" > NUL
echo WARNING: I assume you built a debug version of the library, as that
echo is what you get with MinGW unless you make a special effort.  You
echo must do a manual install if you make a release version.

:install_done
echo MySQL++ (%1 version) installed successfully!
goto end

:error
echo usage: install [subdir]
echo.
echo 	Installs MySQL++ into the given subdirectory of %BASE_DIR%

:end

{'fraction_non_alphanumeric': 0.10935550935550936, 'fraction_numerical': 0.002494802494802495, 'mean_word_length': 5.201030927835052, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 16, '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': '1395588', 'n_tokens_mistral': 872, 'n_tokens_neox': 828, 'n_words': 293}