8 lines
204 B
Bash
Executable File
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} |