| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- @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%/crossrouter ./cross_router
- echo "[cross_server] build linux ELF file"
- go build -o %linuxpath%/crossserver ./cross_server
- echo "[cross_rank] build linux ELF file"
- go build -o %linuxpath%/crossrank ./cross_rank
- echo "build linux ELF files finish..."
- ::config files
- xcopy /SY .\config D:\run\linux\config
- cd ./test
- go build
- cd ..
- pause
|