Skip to content

Commit

Permalink
add a basic check to see if there are enough headers
Browse files Browse the repository at this point in the history
  • Loading branch information
diederich committed Oct 4, 2021
1 parent d1499e4 commit 2557b4a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/test-carthage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ echo "Checking for build products..."
if [ ! -d "Carthage/Build/InAppSettingsKit.xcframework" ]; then
echo "No iOS library built"
EXIT_CODE=1
elif [ `find Carthage/Build/InAppSettingsKit.xcframework -name "*.h" | wc -l` -le 3 ]; then
echo "Not enough headers present - please make sure the xcodeproj is still correctly setup"
EXIT_CODE=2
else
echo "Found iOS framework"
fi
Expand Down

0 comments on commit 2557b4a

Please sign in to comment.