starter/build.sh
2026-03-28 19:29:40 +08:00

8 lines
204 B
Bash
Executable File

#!/bin/bash
RUN_NAME=hertz_service
mkdir -p output/bin
cp script/* output 2>/dev/null
mkdir -p output/conf
cp conf/* output/conf 2>/dev/null
chmod +x output/bootstrap.sh
go build -o output/bin/${RUN_NAME}