Skip to content

Commit 8964b1f

Browse files
committed
chore(util) minor cleanup/improvements
Remove `|| exit 0` so that `util/sdk.sh` exits with 1 on failures.
1 parent f955308 commit 8964b1f

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

util/sdk.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ Options:
4444
4545
-V, --sdk-ver <ver> Proxy-Wasm SDK version to build (e.g. '0.2.1')
4646
47-
-f, --force, --clean Force a clean download or build.
47+
-f, --force, --clean Force a clean build with --build,
48+
or a clean download with --download.
4849
4950
-h, --help Print this message and exit.
5051

util/sdks/go.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ EOF
105105

106106
notice "compiling Go examples..."
107107

108-
make build.examples || exit 0
108+
make build.examples
109109
popd
110110
}
111111

util/setup_dev.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ else
218218
notice "building proxy-wasm-go-sdk..."
219219
$NGX_WASM_DIR/util/sdk.sh -S go --build
220220
fi
221-
#
221+
222222
# proxy-wasm-assemblyscript-sdk
223223

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

0 commit comments

Comments
 (0)