1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- @echo off
- set game_name=%1
- set project_path=..\..\game\%game_name%\main
- set tt_open_path =..\..\game\%game_name%\tt_openDataContext
- set libs_path=..\..\game\_libs\gamelibs_event
- set tt_libs_path=..\..\game\_libs\open_libs\tt
- echo.
- ::从类库复制BaseConfig.js到项目
- echo copy BaseConfig.js
- copy %libs_path%\bin\BaseConfig.js %project_path%\bin
- echo.
- ::从类库复制.d.ts到项目
- echo copy libs .d.ts
- xcopy %libs_path%\libs %project_path%\libs /s /e /y
- echo.
- ::从类库复制core\base到项目
- echo copy core\base
- xcopy %libs_path%\src\core\base %project_path%\src\core\base /s /e /y
- @REM echo.
- @REM ::从类库复制core\Declare.ts到项目
- @REM echo copy core\Declare.ts
- @REM xcopy %libs_path%\src\core\Declare.ts %project_path%\src\core /s /e /y
- echo.
- ::ttGame\base到项目
- echo copy ttGame\base
- xcopy %libs_path%\src\ttGame\base %project_path%\src\ttGame\base /s /e /y
- echo.
- ::webGame\base到项目
- echo copy webGame\base
- xcopy %libs_path%\src\webGame\base %project_path%\src\webGame\base /s /e /y
- @REM echo.
- @REM ::复制字节开放域类库到开放域项目
- @REM echo copy lib openDataContext
- @REM xcopy %tt_libs_path%\release\wxgame %tt_open_path%\release\wxgame /s /e /y
- @REM
- @REM echo.
- @REM ::复制字节开放域发布的js到主域bin\openDataContext
- @REM echo copy js to MainProj
- @REM xcopy %tt_open_path%\release\wxgame %tt_main_path%\bin\openDataContext /s /e /y
- @REM
- @REM echo.
- @REM ::复制字节开放域用到的资源到主域bin\res\open或bin\res\atlas\res\open(合图)
- @REM echo copy res to MainProj
- @REM xcopy %tt_open_path%\bin\res\open %tt_main_path%\bin\res\open /s /e /y
- @REM xcopy %tt_open_path%\bin\res\atlas\res\open %tt_main_path%\res\atlas\res\open /s /e /y
- @REM
- @REM echo copy complete
- ::pause
- exit
|