github.com/maypok86/otter@v1.2.1/scripts/pre-push.sh (about)

     1  #!/bin/bash
     2  
     3  # Run CI tests
     4  readonly ci_cmd="make ci"
     5  eval "$ci_cmd"
     6  
     7  readonly result=$?
     8  if [ $result -ne 0 ]; then
     9      echo -e "CI tests Failed!\n CMD: $ci_cmd"
    10      exit 1
    11  fi