GrassClipper/build_win.cmd
2022-04-25 16:32:19 -07:00

22 lines
632 B
Batchfile

@echo off
:: Clean dist folder
del /s /q /f .\dist
rd /s /q .\dist
:: build
call neu build
:: Copy scripts and langs
xcopy .\languages\ .\dist\GrassClipper\languages\ /y /s
xcopy .\proxy\ .\dist\GrassClipper\proxy\ /y /s
xcopy .\scripts\ .\dist\GrassClipper\scripts\ /y /s
:: bgs
mkdir .\dist\GrassClipper\resources\bg\private
mkdir .\dist\GrassClipper\resources\bg\server
xcopy .\resources\bg\private\ .\dist\GrassClipper\resources\bg\private\ /y /s
xcopy .\resources\bg\server\ .\dist\GrassClipper\resources\bg\server\ /y /s
:: rename exe
move .\dist\GrassClipper\GrassClipper-win_x64.exe .\dist\GrassClipper\GrassClipper.exe