~export.bat 482 B

1234567891011121314151617
  1. @echo off
  2. set PRO_PATH=%~dp0..\..\..\proj_laya
  3. set TOOL_PATH=%~dp0..\..\..\..\_tools\ExcelTool
  4. set OUT_PATH=%~dp0\OutPut
  5. del /q /s %OUT_PATH%\*.*
  6. node %TOOL_PATH%\src\main.js %~dp0 %PRO_PATH%
  7. del /q /s %PRO_PATH%\bin\res_pt\json\*.*
  8. del /q /s %PRO_PATH%\laya\assets\res_pt\json\*.*
  9. xcopy %OUT_PATH%\json %PRO_PATH%\laya\assets\res_pt\json /s /y /i
  10. xcopy %OUT_PATH%\json %PRO_PATH%\bin\res_pt\json /s /y /i
  11. ::xcopy %OUT_PATH%\Data.json %PRO_PATH%\bin\res\json /s /y /i
  12. pause
  13. exit