<commit_before>export LUA_LIB_DIR=objs
export CORE_LIB=../lua-resty-core-0.1.6/
export DNS_LIB=../lua-resty-dns-0.16/
export LOCK_LIB=../lua-resty-lock-0.04/
export LRUCACHE_LIB=../lua-resty-lrucache-0.04/
export MEMCACHED_LIB=../lua-resty-memcached-0.14/
export MYSQL_LIB=../lua-resty-mysql-0.16/
export REDIS_LIB=../lua-resty-redis-0.24/
export STRING_LIB=../lua-resty-string-0.09/
export UPLOAD_LIB=../lua-resty-upload-0.09/
export UPSTREAM_HEALTHCHECK_LIB=../lua-resty-upstream-healthcheck-0.04/
export WEBSOCKET_LIB=../lua-resty-websocket-0.05/

rm -r ${LUA_LIB_DIR}/resty/
rm -r ${LUA_LIB_DIR}/ngx/
mkdir -p ${LUA_LIB_DIR}/resty/

mkdir -p ${LUA_LIB_DIR}/resty/core/
mkdir -p ${LUA_LIB_DIR}/ngx/
cp ${CORE_LIB}/lib/resty/core/*.lua ${LUA_LIB_DIR}/resty/core/
cp ${CORE_LIB}/lib/resty/*.lua ${LUA_LIB_DIR}/resty/
cp ${CORE_LIB}/lib/ngx/*.lua ${LUA_LIB_DIR}/ngx/

mkdir -p ${LUA_LIB_DIR}/resty/dns/
cp ${DNS_LIB}/lib/resty/dns/*.lua ${LUA_LIB_DIR}/resty/dns/

cp ${LOCK_LIB}/lib/resty/*.lua ${LUA_LIB_DIR}/resty/

mkdir -p ${LUA_LIB_DIR}/resty/lrucache/
cp ${LRUCACHE_LIB}/lib/resty/lrucache/*.lua ${LUA_LIB_DIR}/resty/lrucache/
cp ${LRUCACHE_LIB}/lib/resty/*.lua ${LUA_LIB_DIR}/resty/

cp ${MEMCACHED_LIB}/lib/resty/*.lua ${LUA_LIB_DIR}/resty

cp ${MYSQL_LIB}/lib/resty/*.lua ${LUA_LIB_DIR}/resty

cp ${REDIS_LIB}/lib/resty/*.lua ${LUA_LIB_DIR}/resty

cp ${STRING_LIB}/lib/resty/*.lua ${LUA_LIB_DIR}/resty

cp ${UPLOAD_LIB}/lib/resty/*.lua ${LUA_LIB_DIR}/resty

mkdir -p ${LUA_LIB_DIR}/resty/upstream/
cp ${UPSTREAM_HEALTHCHECK_LIB}/lib/resty/upstream/*.lua ${LUA_LIB_DIR}/resty/upstream/

mkdir -p ${LUA_LIB_DIR}/resty/websocket/
cp ${WEBSOCKET_LIB}/lib/resty/websocket/*.lua ${LUA_LIB_DIR}/resty/websocket/

echo success<commit_msg>modify the restylib.bat for running at windows console without mingw<commit_after>SET ORG_DIR=%cd%
set LUA_LIB_DIR=objs\lua
set CORE_LIB=..\lua-resty-core-0.1.6\
set DNS_LIB=..\lua-resty-dns-0.16\
set LOCK_LIB=..\lua-resty-lock-0.04\
set LRUCACHE_LIB=..\lua-resty-lrucache-0.04\
set MEMCACHED_LIB=..\lua-resty-memcached-0.14\
set MYSQL_LIB=..\lua-resty-mysql-0.16\
set REDIS_LIB=..\lua-resty-redis-0.24\
set STRING_LIB=..\lua-resty-string-0.09\
set UPLOAD_LIB=..\lua-resty-upload-0.09\
set UPSTREAM_HEALTHCHECK_LIB=..\lua-resty-upstream-healthcheck-0.04\
set WEBSOCKET_LIB=..\lua-resty-websocket-0.05\

cd /d %~dp0
echo rd /S /Q %LUA_LIB_DIR%
rd /S /Q %LUA_LIB_DIR%
md %LUA_LIB_DIR%

xcopy /S /Y %CORE_LIB%\lib\*                 %LUA_LIB_DIR%
xcopy /S /Y %DNS_LIB%\lib\*                  %LUA_LIB_DIR%
xcopy /S /Y %LOCK_LIB%\lib\*                 %LUA_LIB_DIR%
xcopy /S /Y %LRUCACHE_LIB%\lib\*             %LUA_LIB_DIR%
xcopy /S /Y %MEMCACHED_LIB%\lib\*            %LUA_LIB_DIR%
xcopy /S /Y %MYSQL_LIB%\lib\*                %LUA_LIB_DIR%
xcopy /S /Y %REDIS_LIB%\lib\*                %LUA_LIB_DIR%
xcopy /S /Y %STRING_LIB%\lib\*               %LUA_LIB_DIR%
xcopy /S /Y %UPLOAD_LIB%\lib\*               %LUA_LIB_DIR%
xcopy /S /Y %UPSTREAM_HEALTHCHECK_LIB%\lib\* %LUA_LIB_DIR%
xcopy /S /Y %WEBSOCKET_LIB%\lib\*            %LUA_LIB_DIR%

echo success
cd /d %ORG_DIR%
{'fraction_non_alphanumeric': 0.1857465333763302, 'fraction_numerical': 0.021605933569816188, 'mean_word_length': 3.3506311360448806, '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': '2606113', 'n_tokens_mistral': 1496, 'n_tokens_neox': 1429, 'n_words': 203}