Skip to content

Instantly share code, notes, and snippets.

@AhiyaHiya
Last active May 30, 2017 18:41
Show Gist options
  • Save AhiyaHiya/47043a3f1d1088adf0d9b78da82ae8aa to your computer and use it in GitHub Desktop.
Save AhiyaHiya/47043a3f1d1088adf0d9b78da82ae8aa to your computer and use it in GitHub Desktop.
set -o nounset
SetupCatch()
{
printf "*********************************\n${FUNCNAME[0]}\n"
if [[ ! -d components/catch/ ]]; then
mkdir -p components/catch/include/
cd components/catch/include/
curl -O https://raw.githubusercontent.com/philsquared/Catch/master/single_include/catch.hpp
cd $CURRENT_PATH
printf "*********************************\n"
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment