b_TTtsc.bat 811 B

123456789101112131415161718192021222324252627282930313233343536
  1. @echo off
  2. echo tsc start
  3. set gameUrls=..\src\core
  4. set gameUrls=%gameUrls% ..\src\ttGame
  5. :: set gameUrls=%gameUrls% openDataContext\bytedance
  6. set tt_lib_path=..\..\..\_open_libs\tt\release\wxgame
  7. set tt_open_path=..\..\tt_openDataContext
  8. set tt_main_path= ..\bin\openDataContext
  9. ::空行
  10. echo.
  11. echo copy lib openDataContext
  12. xcopy %tt_lib_path% %tt_open_path% /s /e /y
  13. ::空行
  14. echo.
  15. echo copy js to MainProj
  16. xcopy %tt_open_path%\release\wxgame %tt_main_path%\openDataContext /s /e /y
  17. ::空行
  18. echo.
  19. echo copy res to MainProj
  20. xcopy %tt_open_path%\bin\res\open %tt_main_path%\res\open /s /e /y
  21. xcopy %tt_open_path%\bin\res\atlas\res\open %tt_main_path%\res\atlas\res\open /s /e /y
  22. ::空行
  23. echo.
  24. echo tsc %gameUrls%
  25. tsc -b %gameUrls%
  26. ::tsc -b core Fruit Legend DDZ Glory Dragon LHD
  27. echo tsc complete
  28. pause