diff --git a/.make/make.sh b/.make/make.sh index 5c46be1..6f2d9a5 100644 --- a/.make/make.sh +++ b/.make/make.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -set -eo pipefail +set -eox pipefail function build { (cd metactl && make build) @@ -23,5 +23,4 @@ function release { function generate { ./metactl/dist/metactl gen (cd gen && go mod init github.com/metamatemono/gen) - } \ No newline at end of file diff --git a/auth-svc/.make/make.sh b/auth-svc/.make/make.sh index 0102e2b..69fcd0c 100644 --- a/auth-svc/.make/make.sh +++ b/auth-svc/.make/make.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -set -eo pipefail +set -eox pipefail function build { time GO111MODULE=on GOARCH=amd64 GOOS=linux go build -o main diff --git a/metactl/.make/make.sh b/metactl/.make/make.sh index 75033c3..c930db7 100644 --- a/metactl/.make/make.sh +++ b/metactl/.make/make.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -set -eo pipefail +set -eox pipefail function build { export GO111MODULE=on diff --git a/metamate/.make/make.sh b/metamate/.make/make.sh index 7013372..5cec480 100644 --- a/metamate/.make/make.sh +++ b/metamate/.make/make.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -set -eo pipefail +set -eox pipefail function build { time go build -i -o dist/metamate cmd/metamate/main.go @@ -41,5 +41,5 @@ function release { --tag metamatex/metamate:$TAG \ . - # docker push metamatex/metamate:latest + docker push metamatex/metamate:latest } \ No newline at end of file diff --git a/sqlx-svc/.make/make.sh b/sqlx-svc/.make/make.sh index 031dae1..52aed40 100644 --- a/sqlx-svc/.make/make.sh +++ b/sqlx-svc/.make/make.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -set -eo pipefail +set -eox pipefail function build { export GO111MODULE=on