#!/bin/sh

if grep -q -R --exclude-dir=.git --exclude-dir=.stack-work --exclude-dir=dist-newstyle  --exclude-dir=_build "NOCOMMIT"
then
  echo Commit contains "NOCOMMIT"
  exit 1
else
  exit 0
fi
