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

Commit 19e3174

Browse files
committed
Pre-push hook
1 parent 1c219c6 commit 19e3174

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

pre-push.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/sh
2+
3+
if $(which bundle &> /dev/null); then
4+
bundle exec fastlane ci
5+
elif $(which fastlane &> /dev/null); then
6+
fastlane ci
7+
else
8+
echo 'Fastlane not installed; Run `bundle install` or install Fastlane directly'
9+
exit 1
10+
fi

0 commit comments

Comments
 (0)