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

Commit

Permalink
Pre-push hook
Browse files Browse the repository at this point in the history
  • Loading branch information
fjcaetano committed Nov 10, 2017
1 parent 1c219c6 commit 19e3174
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pre-push.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/sh

if $(which bundle &> /dev/null); then
bundle exec fastlane ci
elif $(which fastlane &> /dev/null); then
fastlane ci
else
echo 'Fastlane not installed; Run `bundle install` or install Fastlane directly'
exit 1
fi

0 comments on commit 19e3174

Please sign in to comment.