chore: exit on command fail

This commit is contained in:
eric
2024-04-22 22:12:07 +08:00
parent 067c3ee0f5
commit 1dfe30bfdb
4 changed files with 5 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env sh
set -x
set -ex
name=leaf
package=leaf-ffi

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env sh
set -x
set -ex
mode=release
release_flag=--release

View File

@@ -1,5 +1,7 @@
#!/usr/bin/env bash
set -ex
target=$1
if [[ "$target" == *"mips"* ]]; then

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env sh
set -x
set -ex
touch leaf/build.rs
PROTO_GEN=1 cargo build -p leaf