天天看點

前後端共享檔案的批處理

.\server\bin\Win64\node Tools\FormatJson\app.js

rem 删除原來的
rd /s /q server\app\shared\comm
rd /s /q server\app\shared\config
rd /s /q server\app\shared\configOpt
rd /s /q server\app\shared\designScript
rd /s /q server\app\shared\consts
rd /s /q server\app\shared\interface

rd /s /q SLG\shared\comm
rd /s /q SLG\shared\config
rd /s /q SLG\shared\configOpt
rd /s /q SLG\shared\designScript
rd /s /q SLG\shared\consts
rd /s /q SLG\shared\interface

rem 複制新的
md server\app\shared\comm
md server\app\shared\config
md server\app\shared\configOpt
md server\app\shared\designScript
md server\app\shared\consts
md server\app\shared\interface

md SLG\shared\comm
md SLG\shared\config
md SLG\shared\configOpt
md SLG\shared\designScript
md SLG\shared\consts
md SLG\shared\interface

xcopy shared\comm server\app\shared\comm\ /e
xcopy shared\config server\app\shared\config\ /e
xcopy shared\configOpt server\app\shared\configOpt\ /e
xcopy shared\designScript server\app\shared\designScript\ /e
xcopy shared\consts server\app\shared\consts\ /e
xcopy shared\interface server\app\shared\interface\ /e

xcopy shared\comm SLG\shared\comm\ /e
xcopy shared\config SLG\shared\config\ /e
xcopy shared\configOpt SLG\shared\configOpt\ /e
xcopy shared\designScript SLG\shared\designScript\ /e
xcopy shared\consts SLG\shared\consts\ /e
xcopy shared\interface SLG\shared\interface\ /e
pause
           

繼續閱讀