Skip to content
This repository was archived by the owner on Feb 2, 2023. It is now read-only.

Commit 8161c47

Browse files
committed
Add lint mode to build.sh (#2728)
1 parent 8e0b102 commit 8161c47

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

build.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,4 +292,12 @@ if [ "$MODE" = "framework" ]; then
292292
exit 0
293293
fi
294294

295+
if [ "$MODE" = "cocoapods-lint" ]; then
296+
echo "Verifying that podspec lints."
297+
298+
set -o pipefail && pod lib lint
299+
trap - EXIT
300+
exit 0
301+
fi
302+
295303
echo "Unrecognised mode '$MODE'."

0 commit comments

Comments
 (0)