phase 0.3
This commit is contained in:
commit
4a94bfc4e7
52 changed files with 11653 additions and 0 deletions
17
run_game.bat
Normal file
17
run_game.bat
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
@echo off
|
||||
setlocal EnableDelayedExpansion
|
||||
cd /d "%~dp0"
|
||||
|
||||
set "SKYRAMA_DSN=skyramaUser:Skyrama1234.@tcp(127.0.0.1:3306)/skyrama_clone?parseTime=true"
|
||||
|
||||
if not exist skyrama.exe (
|
||||
echo [*] skyrama.exe not found, building...
|
||||
go build -o skyrama.exe .\cmd\skyrama\
|
||||
if errorlevel 1 ( echo [ERROR] Build failed. & pause & exit /b 1 )
|
||||
)
|
||||
|
||||
skyrama.exe
|
||||
echo.
|
||||
echo [Skyrama exited - press any key to close]
|
||||
pause >nul
|
||||
endlocal
|
||||
Loading…
Add table
Add a link
Reference in a new issue