#!/usr/bin/env sh
cd $(dirname $0)/..
# Make sure we have .NET installed.
if ! which dotnet >& /dev/null
then
echo "Cannot find 'dotnet' in the path"
exit 1
fi
# Make sure we have lefthook.and it is installed.
if ! which lefthook >& /dev/null
echo "Cannot find 'lefthook' in the path"
lefthook install
# Everything is good.
exit 0