Skip to content

Commit

Permalink
Update native_check
Browse files Browse the repository at this point in the history
  • Loading branch information
spacevx committed Mar 9, 2024
1 parent 78f8872 commit 1ec1108
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .ci/native_check
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#!/bin/bash

set -eu

# include common script
. "$(dirname "$0")"/common.sh

# Retrieve the names of all directories at the project's root
ROOT_DIRS=$(find . -maxdepth 1 -type d | cut -c 3- | egrep -v '^\.(git|github|ci)$')

Expand Down Expand Up @@ -36,8 +41,7 @@ done

# Output namespace errors if any
if [ ! -z "$NS_ERRORS" ]; then
echo -e "$NS_ERRORS"
exit 1
die "$NS_ERRORS"
else
echo "All namespaces are valid."
print -s1 -c2 "All namespaces are valid."
fi

0 comments on commit 1ec1108

Please sign in to comment.