Skip to content

Commit

Permalink
Detect bundles as libraries in substrate
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisroberts committed Jan 17, 2024
1 parent 9c4df0c commit 7bcf4d4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .ci/macos-substrate-combiner
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ function macho_binary_file() {
return 0
fi

# Check if file is a bundle, mark it as library
if [[ "${info}" = *"bundle"* ]]; then
printf "library"
return 0
fi

# If we're still here, it's not a valid match
return 1
}
Expand Down

0 comments on commit 7bcf4d4

Please sign in to comment.