b_export.bat 317 B

12345678910111213141516
  1. @echo off
  2. set PRO_PATH=%1
  3. set OUT_PATH=%2
  4. set EXCEL_PATH=%3
  5. set TOOL_PATH=%~dp0
  6. del /q /s %OUT_PATH%\*.*
  7. node %TOOL_PATH%\src\main.js %EXCEL_PATH% %PRO_PATH%
  8. del /q /s %PRO_PATH%\bin\res\json\*.*
  9. xcopy %OUT_PATH%\json %PRO_PATH%\bin\res\json /s /y /i
  10. xcopy %OUT_PATH%\Data.d.ts %PRO_PATH%\libs /s /y /i
  11. pause
  12. exit