Commit 848439b7 authored by Vitaly Lipatov's avatar Vitaly Lipatov

gitask: add rebuild support

parent 4da68352
...@@ -26,6 +26,7 @@ if [ "$1" = "-h" ] || [ "$1" = "--help" ]; then ...@@ -26,6 +26,7 @@ if [ "$1" = "-h" ] || [ "$1" = "--help" ]; then
echo " log NNNN - show build log for task NNNN" echo " log NNNN - show build log for task NNNN"
echo " show NNNN - show subtask list for task NNNN" echo " show NNNN - show subtask list for task NNNN"
echo " cancel NNNN - cancel task NNNN" echo " cancel NNNN - cancel task NNNN"
echo " rebuild --help - rebuild package"
exit 0 exit 0
fi fi
...@@ -67,6 +68,13 @@ if [ "$1" = "find" ] ; then ...@@ -67,6 +68,13 @@ if [ "$1" = "find" ] ; then
exit exit
fi fi
if [ "$1" = "rebuild" ] ; then
shift
showcmd "$GEARHOST>" build rebuild "$@"
docmd ssh $GEARHOST build rebuild "$@"
exit
fi
if [ "$1" = "log" ] ; then if [ "$1" = "log" ] ; then
shift shift
TASK="$1" TASK="$1"
......
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