mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-05-08 20:56:13 +00:00
wamr-ide/VSCode-Extension: "set -e" in shell scripts (#1436)
To avoid mysterious behaviors caused by ignored errors.
This commit is contained in:
parent
77c516ac80
commit
47f17ef8f5
|
@ -3,6 +3,8 @@
|
||||||
# Copyright (C) 2019 Intel Corporation. All rights reserved.
|
# Copyright (C) 2019 Intel Corporation. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
docker run --rm -it --name=wasm-debug-server-ctr \
|
docker run --rm -it --name=wasm-debug-server-ctr \
|
||||||
-v "$(pwd)":/mnt \
|
-v "$(pwd)":/mnt \
|
||||||
-p 1234:1234 \
|
-p 1234:1234 \
|
||||||
|
|
|
@ -3,6 +3,8 @@
|
||||||
# Copyright (C) 2019 Intel Corporation. All rights reserved.
|
# Copyright (C) 2019 Intel Corporation. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
docker run --rm --name=wasm-toolchain-ctr \
|
docker run --rm --name=wasm-toolchain-ctr \
|
||||||
-it -v "$(pwd)":/mnt \
|
-it -v "$(pwd)":/mnt \
|
||||||
--env=PROJ_PATH="$(pwd)" \
|
--env=PROJ_PATH="$(pwd)" \
|
||||||
|
|
|
@ -3,6 +3,8 @@
|
||||||
# Copyright (C) 2019 Intel Corporation. All rights reserved.
|
# Copyright (C) 2019 Intel Corporation. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
docker -v>/dev/null
|
docker -v>/dev/null
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "\nDocker is not installed, please install docker firstly.\n"
|
echo "\nDocker is not installed, please install docker firstly.\n"
|
||||||
|
|
|
@ -3,6 +3,8 @@
|
||||||
# Copyright (C) 2019 Intel Corporation. All rights reserved.
|
# Copyright (C) 2019 Intel Corporation. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
docker run --rm -it --name=wasm-debug-server-ctr \
|
docker run --rm -it --name=wasm-debug-server-ctr \
|
||||||
-v "$(pwd)":/mnt \
|
-v "$(pwd)":/mnt \
|
||||||
wasm-debug-server:1.0 \
|
wasm-debug-server:1.0 \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user