Skip to content

Commit c5fee6b

Browse files
committed
contrib: exclude example dir from check-dirty.sh script
Signed-off-by: Yuki Kishimoto <[email protected]>
1 parent 098c8c2 commit c5fee6b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

contrib/scripts/check-dirty.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ set -exuo pipefail
55
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
66
ROOT_DIR="${SCRIPT_DIR}/../.."
77

8-
# Collect changed files (excluding lines matching $EXCLUDE and the Podfile.lock)
9-
CHANGED_FILES="$(git status --porcelain | grep -v example/ios/Podfile.lock | grep -v RustNostrNostrSdkReactNativeFramework.xcframework/Info.plist | awk '{print $2}')"
8+
# Collect changed files
9+
# Exclude examples dir and RustNostrNostrSdkReactNativeFramework.xcframework/Info.plist
10+
CHANGED_FILES="$(git status --porcelain | grep -v 'example/' | grep -v RustNostrNostrSdkReactNativeFramework.xcframework/Info.plist | awk '{print $2}')"
1011

1112
# If there are changes, show details and file contents
1213
if [[ -n "$CHANGED_FILES" ]]; then

0 commit comments

Comments
 (0)