| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- @echo off
- SET CGO_ENABLED=0
- SET GOARCH=amd64
- SET GOOS=linux
- set linuxpath=D:\run\linux
- echo "build linux ELF files"
- echo "[db] build linux ELF file"
- go build -o %linuxpath%/db ./db
- echo "[game] build linux ELF file"
- go build -o %linuxpath%/game ./game
- echo "[gate] build linux ELF file"
- go build -o %linuxpath%/gate ./gate
- echo "[auth] build linux ELF file"
- go build -o %linuxpath%/auth ./auth
- echo "[social] build linux ELF file"
- go build -o %linuxpath%/social ./social
- ::echo "[server_aoi] build linux ELF file"
- ::go build -o %linuxpath%/server_aoi ./server_aoi
- ::echo "[server_map_router] build linux ELF file"
- ::go build -o %linuxpath%/server_map_router ./server_map_router
- echo "[battleboss] build linux ELF file"
- go build -o %linuxpath%/battleboss ./battleboss
- echo "[rank] build linux ELF file"
- go build -o %linuxpath%/rank ./rank
- echo "[guild] build linux ELF file"
- go build -o %linuxpath%/guild ./guild
- echo "[gmweb] build linux ELF file"
- go build -o %linuxpath%/gmweb ./gmweb
- echo "[battlerecord] build linux ELF file"
- go build -o %linuxpath%/battlerecord ./battlerecord
- ::echo "[cross_router] build linux ELF file"
- ::go build -o %linuxpath%/cross_router ./cross_router
- ::echo "[cross_server] build linux ELF file"
- ::go build -o %linuxpath%/cross_server ./cross_server
- echo "build linux ELF files finish..."
- ::config files
- xcopy /SY .\config D:\run\linux\config
- cd ./test
- go build
- cd ..
- pause
|