- @echo off
- set PRO_PATH=%1
- set OUT_PATH=%2
- set EXCEL_PATH=%3
- set TOOL_PATH=%~dp0
- del /q /s %OUT_PATH%\*.*
- node %TOOL_PATH%\src\main.js %EXCEL_PATH% %PRO_PATH%
- del /q /s %PRO_PATH%\bin\res\json\*.*
- xcopy %OUT_PATH%\json %PRO_PATH%\bin\res\json /s /y /i
- xcopy %OUT_PATH%\Data.d.ts %PRO_PATH%\libs /s /y /i
- pause
- exit
|