#!/bin/bash BRANCH=`git rev-parse --abbrev-ref HEAD` if [[ "$BRANCH" == "master" ]]; then echo "running arc lint..." arc lint --rev=HEAD || exit 1 fi exit 0