<commit_before>@echo off
setlocal EnableDelayedExpansion
echo ***************************************************************************
echo                developing.bat
echo                     by niuren.zhu
echo                           2017.11.06
echo  ˵
echo     1. ˽űҪNode.js command promptС
echo     2. ibasĿ¼ļ
echo     3. openui5\typingsĿ¼ļ
echo     4. test\appsĿ¼ļ
echo     5. web
echo ****************************************************************************
REM ò
REM Ŀ¼
SET STARTUP_FOLDER=%~dp0
REM ĹĿ¼
SET WORK_FOLDER=%~1
REM жǷ񴫹Ŀ¼ûĿ¼
if "%WORK_FOLDER%"=="" SET WORK_FOLDER=%STARTUP_FOLDER%
REM Ŀ¼ַǡ\
if "%WORK_FOLDER:~-1%" neq "\" SET WORK_FOLDER=%WORK_FOLDER%\
echo --Ŀ¼%WORK_FOLDER%
REM ļм
CALL :WATCHING_TS "%WORK_FOLDER%ibas\tsconfig.json"
CALL :WATCHING_TS "%WORK_FOLDER%openui5\typings\tsconfig.json"
CALL :WATCHING_TS "%WORK_FOLDER%test\apps\tsconfig.dev.json"

REM web
REM IIS
SET WEB_SERVER="%ProgramFiles%\IIS Express\iisexpress.exe"
SET WEB_PORT=15386
IF EXIST %WEB_SERVER% (
  echo ----WEB%WEB_SERVER%
  START /min CALL %WEB_SERVER% /path:%WORK_FOLDER% /port:%WEB_PORT%
  GOTO :EOF
) ELSE (
REM IISĿ¼tomcat
  SET WEB_SERVER="%WORK_FOLDER%tomcat\bin\startup.bat"
  IF EXIST %WEB_SERVER% (
    echo ----WEB%WEB_SERVER%
    CALL %WEB_SERVER%
    GOTO :EOF
  )
)
echo webiistomcat
GOTO :EOF
:WATCHING_TS
SET CONFIG_FILE=%1
echo ----: %CONFIG_FILE%<commit_msg>修复openui5路径<commit_after>@echo off
setlocal EnableDelayedExpansion
echo ***************************************************************************
echo                developing.bat
echo                     by niuren.zhu
echo                           2017.11.06
echo  ˵
echo     1. ˽űҪNode.js command promptС
echo     2. ibasĿ¼ļ
echo     3. openui5\typingsĿ¼ļ
echo     4. test\appsĿ¼ļ
echo     5. web
echo ****************************************************************************
REM ò
REM Ŀ¼
SET STARTUP_FOLDER=%~dp0
REM ĹĿ¼
SET WORK_FOLDER=%~1
REM жǷ񴫹Ŀ¼ûĿ¼
if "%WORK_FOLDER%"=="" SET WORK_FOLDER=%STARTUP_FOLDER%
REM Ŀ¼ַǡ\
if "%WORK_FOLDER:~-1%" neq "\" SET WORK_FOLDER=%WORK_FOLDER%\
echo --Ŀ¼%WORK_FOLDER%
REM ļм
CALL :WATCHING_TS "%WORK_FOLDER%ibas\tsconfig.json"
CALL :WATCHING_TS "%WORK_FOLDER%openui5\tsconfig.json"
CALL :WATCHING_TS "%WORK_FOLDER%test\apps\tsconfig.dev.json"

REM web
REM IIS
SET WEB_SERVER="%ProgramFiles%\IIS Express\iisexpress.exe"
SET WEB_PORT=15386
IF EXIST %WEB_SERVER% (
  echo ----WEB%WEB_SERVER%
  START /min CALL %WEB_SERVER% /path:%WORK_FOLDER% /port:%WEB_PORT%
  GOTO :EOF
) ELSE (
REM IISĿ¼tomcat
  SET WEB_SERVER="%WORK_FOLDER%tomcat\bin\startup.bat"
  IF EXIST %WEB_SERVER% (
    echo ----WEB%WEB_SERVER%
    CALL %WEB_SERVER%
    GOTO :EOF
  )
)
echo webiistomcat
GOTO :EOF
:WATCHING_TS
SET CONFIG_FILE=%1
echo ----: %CONFIG_FILE%
{'fraction_non_alphanumeric': 0.2138205499276411, 'fraction_numerical': 0.01772793053545586, 'mean_word_length': 3.990974729241877, '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': '5781065', 'n_tokens_mistral': 1186, 'n_tokens_neox': 1094, 'n_words': 225}