Skip to content

Commit

Permalink
chore(util) minor cleanup/improvements
Browse files Browse the repository at this point in the history
Remove `|| exit 0` so that `util/sdk.sh` exits with 1 on failures.
  • Loading branch information
thibaultcha committed Dec 5, 2023
1 parent f955308 commit 07fc76d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion util/sdk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ Options:
-V, --sdk-ver <ver> Proxy-Wasm SDK version to build (e.g. '0.2.1')
-f, --force, --clean Force a clean download or build.
-f, --force, --clean Force a clean build with --build,
or a clean download with --download.
-h, --help Print this message and exit.
Expand Down
2 changes: 1 addition & 1 deletion util/sdks/go.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ EOF

notice "compiling Go examples..."

make build.examples || exit 0
make build.examples
popd
}

Expand Down
2 changes: 1 addition & 1 deletion util/setup_dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ else
notice "building proxy-wasm-go-sdk..."
$NGX_WASM_DIR/util/sdk.sh -S go --build
fi
#

# proxy-wasm-assemblyscript-sdk

if [[ ! -x "$(command -v npm)" ]]; then
Expand Down

0 comments on commit 07fc76d

Please sign in to comment.