6 lines
391 B
Bash
Executable File
6 lines
391 B
Bash
Executable File
cd vue && npm run build:prod \
|
|
&& cd .. && export GOOS=linux&&go build -ldflags="-w -s" -o bin/linux/manager cmd/manager/main.go \
|
|
&& go build -ldflags="-w -s" -o bin/linux/report_server cmd/report_server/main.go \
|
|
&& go build -ldflags="-w -s" -o bin/linux/sinker cmd/sinker/main.go \
|
|
&& go build -ldflags="-w -s" -o bin/linux/init_app cmd/init_app/main.go
|
|
echo "build success" |