Skip to content

Commit a67cd2a

Browse files
committed
contrib: fix check scripts
Add `set -e` to scripts to exit from a script on error
1 parent 946ada7 commit a67cd2a

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

contrib/check-bindings.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/bin/bash
22

3+
# Needed to exit from script on error
4+
set -e
5+
36
buildargs=(
47
"-p nostr-ffi"
58
"-p nostr-sdk-ffi"

contrib/check-crates.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/bin/bash
22

3+
# Needed to exit from script on error
4+
set -e
5+
36
# MSRV
47
msrv="1.64.0"
58

contrib/check-docs.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/bin/bash
22

3+
# Needed to exit from script on error
4+
set -e
5+
36
buildargs=(
47
"-p nostr --all-features"
58
"-p nostr-database --all-features"

0 commit comments

Comments
 (0)