Advertisement
Kitomas

_copy_bat.bat

Aug 4th, 2023
1,025
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.51 KB | None | 0 0
  1. rem _copy_dat.bat
  2. @echo off
  3. rem (this is ran every build generation. it copies current assets,
  4. rem  before printing total line count of source)
  5.  
  6.  
  7. echo copying assets...
  8.  
  9. if not "%RELEASE_BUILD%"=="true" goto no_release
  10. rmdir /s /q "bin/Release/dat/"
  11. cp -r _copy_to/dat/ bin/Release
  12. :no_release
  13.  
  14. if not "%DEBUG_BUILD%"=="true" goto no_debug
  15. rmdir /s /q "bin/Debug/dat/"
  16. cp -r _copy_to/dat/ bin/Debug
  17. :no_debug
  18.  
  19. echo done!
  20.  
  21.  
  22. py countLines.py code/include code/src kit/include/ kit/src
  23.  
  24.  
  25. rem pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement