8 lines
219 B
Bash
8 lines
219 B
Bash
#!/bin/bash
|
|
|
|
set -Eeuo pipefail
|
|
mkdir -p ./output
|
|
for module in api worker iot-gateway iot-server; do
|
|
(cd "./backend/${module}" && GOARCH=amd64 GOOS=linux go build -o "../../output/${module}" ./cmd/main/main.go)
|
|
done
|