exit 0
fi
+if [[ "$OSTYPE" == "darwin"* ]]; then
+ # 'rake' doesn't work. have to figure that one out..
+ echo "Not running test on OS X for now"
+ exit 0
+fi
+
echo ""
echo ""
echo "Now running UnrealIRCd test framework..."
elif [[ "$OSTYPE" == "freebsd"* ]]; then
sudo pkg install -y c-ares
elif [[ "$OSTYPE" == "darwin"* ]]; then
- echo TODO: Do something useful here...
+ brew install c-ares
fi
elif [ "$1" = "system-curl" ]; then
echo 'REMOTEINC=1' >>config.settings
sudo pkg install -y curl
echo 'CURLDIR=/usr/local' >>config.settings
elif [[ "$OSTYPE" == "darwin"* ]]; then
- echo TODO: Do something useful here...
+ brew install c-ares curl
fi
elif [ "$1" = "local-curl" ]; then
if [ "$OSTYPE" = "linux-gnu" ]; then
elif [[ "$OSTYPE" == "freebsd"* ]]; then
sudo pkg remove -y curl #NOTE: unfortunately this also removes 'git' :D
elif [[ "$OSTYPE" == "darwin"* ]]; then
- echo TODO: Do something useful here...
+ echo "No need to remove curl since it's not installed. Or at least I hope so..."
fi
echo 'REMOTEINC=1' >>config.settings
echo "CURLDIR=`pwd`/extras/curl" >>config.settings