Skip to content

Commit

Permalink
contrib: fix check scripts
Browse files Browse the repository at this point in the history
Add `set -e` to scripts to exit from a script on error
  • Loading branch information
yukibtc committed Jan 14, 2024
1 parent 946ada7 commit a67cd2a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions contrib/check-bindings.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash

# Needed to exit from script on error
set -e

buildargs=(
"-p nostr-ffi"
"-p nostr-sdk-ffi"
Expand Down
3 changes: 3 additions & 0 deletions contrib/check-crates.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash

# Needed to exit from script on error
set -e

# MSRV
msrv="1.64.0"

Expand Down
3 changes: 3 additions & 0 deletions contrib/check-docs.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash

# Needed to exit from script on error
set -e

buildargs=(
"-p nostr --all-features"
"-p nostr-database --all-features"
Expand Down

0 comments on commit a67cd2a

Please sign in to comment.