Guest User

Untitled

a guest
Feb 23rd, 2018
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. MESSAGE=(`./gradlew :app:ktlintCheck`)
  4. RESULT=$?
  5. SUCCESS=0
  6. if [ $SUCCESS -lt $RESULT ]; then
  7. echo "${#MESSAGES[@]}"
  8. echo "failed by ktlintCheck. Please try ./gradlew :app:ktlintFormat"
  9. fi
  10. exit $RESULT
Add Comment
Please, Sign In to add comment