[feat]: initial commit
This commit is contained in:
commit
7b48f34e94
24 changed files with 1354 additions and 0 deletions
15
build_release.bat
Normal file
15
build_release.bat
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
:: This script creates an optimized release build.
|
||||
|
||||
@echo off
|
||||
|
||||
set OUT_DIR=build\release
|
||||
|
||||
if not exist %OUT_DIR% mkdir %OUT_DIR%
|
||||
|
||||
odin build source\main_release -out:%OUT_DIR%\game_release.exe -strict-style -vet -no-bounds-check -o:speed -subsystem:windows
|
||||
IF %ERRORLEVEL% NEQ 0 exit /b 1
|
||||
|
||||
xcopy /y /e /i assets %OUT_DIR%\assets > nul
|
||||
IF %ERRORLEVEL% NEQ 0 exit /b 1
|
||||
|
||||
echo Release build created in %OUT_DIR%
|
||||
Loading…
Add table
Add a link
Reference in a new issue