kopia lustrzana https://github.com/bugout-dev/moonstream
Build executables via deployment
rodzic
2c51435cf1
commit
a3d88d9221
|
@ -45,7 +45,7 @@ echo
|
|||
echo -e "${PREFIX_INFO} Building executable load balancer for nodes script with Go"
|
||||
EXEC_DIR=$(pwd)
|
||||
cd "${APP_DIR}/nodebalancer"
|
||||
HOME=/home/ubuntu /usr/local/go/bin/go build -o "${APP_DIR}/nodebalancer/nodebalancer" "${APP_DIR}/nodebalancer/cmd/nodebalancer/*.go"
|
||||
HOME=/home/ubuntu /usr/local/go/bin/go build -o "${APP_DIR}/nodebalancer/nodebalancer" "${APP_DIR}/nodebalancer/cmd/nodebalancer/"
|
||||
cd "${EXEC_DIR}"
|
||||
|
||||
echo
|
||||
|
|
|
@ -68,7 +68,7 @@ echo
|
|||
echo -e "${PREFIX_INFO} Building executable probes application with Go"
|
||||
EXEC_DIR=$(pwd)
|
||||
cd "${APP_DIR}/probes"
|
||||
HOME=/home/ubuntu /usr/local/go/bin/go build -o "${APP_DIR}/probes/probes" "${APP_DIR}/probes/cmd/probes/*.go"
|
||||
HOME=/home/ubuntu /usr/local/go/bin/go build -o "${APP_DIR}/probes/probes" "${APP_DIR}/probes/cmd/probes/"
|
||||
cd "${EXEC_DIR}"
|
||||
|
||||
echo
|
||||
|
|
Ładowanie…
Reference in New Issue