@echo off set PRO_PATH=%~dp0..\..\..\proj_laya set TOOL_PATH=%~dp0..\..\..\_tools\ExcelTool set OUT_PATH=%~dp0\OutPut del /q /s %OUT_PATH%\*.* node %TOOL_PATH%\src\main.js %~dp0 %PRO_PATH% del /q /s %PRO_PATH%\bin\res\json\*.* del /q /s %PRO_PATH%\laya\assets\res\json\*.* xcopy %OUT_PATH%\json %PRO_PATH%\bin\res\json /s /y /i xcopy %OUT_PATH%\json %PRO_PATH%\laya\assets\res\json /s /y /i ::xcopy %OUT_PATH%\Data.json %PRO_PATH%\bin\res\json /s /y /i xcopy %OUT_PATH%\Data.d.ts %PRO_PATH%\libs /s /y /i pause exit