Service framework for game server using libatbus-go, libatapp-go and etc.
To work with https://github.com/atframework/atsf4g-co.
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression
scoop install python task
scoop bucket add java
scoop install microsoft-lts-jdk
scoop install helm// 之后退出全部终端 刷新环境变量
winget install Task.Task Microsoft.OpenJDK.25 Helm.Helm
# Build all modules
task build
# Or build specific modules
task build:lobbysvr # Build lobbysvr
task build:robot # Build robot# Fast build all modules
task fast-build
# Or fast build specific modules
task fast-build:lobbysvr
task fast-build:robotBuild process includes:
- Preparing compilation tools (protoc, Java, Python, etc.)
- Downloading/installing dependency tools (atdtool, xresloader)
- Generating Protocol Buffer code
- Running
go mod tidyto organize dependencies - Compiling each service module
// config
cd build/install/
.\update_dependency.bat
.\generate_config.battask help
# 或
task -l# Install linter (one time only)
go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.6.0
# Run linting
task lint