No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

release.bat 1.1KB

1234567891011121314151617181920212223242526
  1. @echo off
  2. rem msbuild Tera.sln /t:rebuild /p:Configuration=Release /p:Platform="Any CPU" /fl /flp:logfile=ShinraMeter.log;verbosity=diagnostic
  3. msbuild Tera.sln /p:Configuration=Release /p:Platform="Any CPU" /fl /flp:logfile=ShinraMeter.log;verbosity=normal
  4. set output=.\ShinraMeterV
  5. set source=.
  6. set variant=Release
  7. rmdir /Q /S "%output%"
  8. md "%output%
  9. md "%output%\resources"
  10. md "%output%\resources\config"
  11. md "%output%\lib"
  12. xcopy "%source%\DamageMeter.UI\bin\%variant%" "%output%\" /E
  13. xcopy "%source%\lib" "%output%\lib\" /E
  14. copy "%source%\ShinraLauncher.exe" "%output%\"
  15. copy "%source%\ReadmeUser.txt" "%output%\readme.txt"
  16. copy "%source%\add_firewall_exception.bat" "%output%\add_firewall_exception.bat"
  17. xcopy "%source%\resources" "%output%\resources\" /E /EXCLUDE:.\exclude.txt
  18. copy "%source%\.git\modules\resources\data\refs\heads\master" "%output%\resources\head"
  19. del "%output%\*.xml"
  20. del "%output%\error.log"
  21. del "%output%\*.vshost*"
  22. del "%output%\*.pdb"
  23. del "%output%\resources\data\hotdot\glyph*.tsv"
  24. del "%output%\resources\data\hotdot\abnormal.tsv"
  25. "%source%\Publisher\bin\%variant%\Publisher.exe"