Commit f911438b authored by Arnaud Blanchard's avatar Arnaud Blanchard

Add monitoring for channels

parent 52667b42
#!/bin/sh
mkdir -p $1/doc
./compile.sh $1 Release doc_`basename $1`
usage(){
echo "usage: doc.sh <project dir>"
}
blaar_build_dir="${PWD}_build"
[ $1 ] || { echo "Missing project directory."; usage; exit 1; }
./compile.sh $1 Release doc
cd $1
project_dir="$PWD";
project_name=`basename $project_dir`;
cd - > /dev/null;
cd `dirname $0`
blaar_dir="$PWD"
blaar_build_dir="${blaar_dir}_build"
build_dir="$blaar_build_dir/doc/$project_name"
mkdir -p $build_dir
cd $build_dir
if [ $? ] ; then
if type xdg-open &>/dev/null; then xdg-open "$1/doc/api/index.html";
elif type open &>/dev/null; then open "$1/doc/api/index.html";
if type xdg-open &>/dev/null; then xdg-open "$build_dir/index.html";
elif type open &>/dev/null; then open "$build_dir/index.html";
else echo "Open documentation in: $1/doc/api/index.html";
fi
else
......
......@@ -23,5 +23,5 @@ echo
echo "Reinstall and check all"
echo "-----------------------"
echo
git submodule foreach --quiet '(../install.sh && ./check.sh)' || { echo "### Impossible to install updates"; exit 1; }
git submodule foreach --quiet '(../install.sh . && ./check.sh)' || { echo "### Impossible to install updates"; exit 1; }
echo
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment