heat/tools/integration.sh
Steven Hardy 9531cbf586 Update tools/integration.sh script to new docs tree
Update location to refer to the new fedora getting started guide

Change-Id: I507e1102a1979debd975fa6601e5385b1a47a756
2013-04-29 18:05:10 +01:00

27 lines
359 B
Bash
Executable File

#!/bin/bash
TOOLS_DIR=`dirname $0`
HEAT_DIR="$TOOLS_DIR/.."
clean() {
$TOOLS_DIR/uninstall-heat -y -r ""
}
error() {
echo "Failed :("
}
run() {
bash -c "$($TOOLS_DIR/rst2script.sed $HEAT_DIR/doc/source/getting_started/on_fedora.rst)" || error
}
case $1 in
clean|run)
$1
;;
*)
clean
run
;;
esac