19 lines
528 B
Bash
Executable File
19 lines
528 B
Bash
Executable File
#!/bin/sh
|
|
GO_ENABLED=0
|
|
GO111MODULE=on
|
|
GOOS=linux
|
|
cd ../
|
|
go build -o ./bin/cmd ./services/cmd/main.go
|
|
go build -o ./bin/mainte ./services/mainte/main.go
|
|
go build -o ./bin/gateway ./services/gateway/main.go
|
|
go build -o ./bin/worker ./services/worker/main.go
|
|
curl -XPOST -s -L 'https://oapi.dingtalk.com/robot/send?access_token=5ae6b8eacb8f065c6b6c8211febaf024a4179652b82c4c2ad59a8878cecee5e4' -H 'Content-Type: application/json' -H "charset:utf-8" -d '{"msgtype": "text",
|
|
|
|
"text": {
|
|
|
|
"content": "服务构建完成"
|
|
|
|
}
|
|
|
|
}'
|