Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-build-utils
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
korinf
etersoft-build-utils
Commits
104d3e35
You need to sign in or sign up before continuing.
Commit
104d3e35
authored
Jun 22, 2018
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gitask: use log for task build log, improve help
parent
e7acf0f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
gitask
bin/gitask
+8
-3
No files found.
bin/gitask
View file @
104d3e35
...
@@ -11,13 +11,18 @@ set_girar_host $1 && shift
...
@@ -11,13 +11,18 @@ set_girar_host $1 && shift
if
[
"
$1
"
=
"-h"
]
||
[
"
$1
"
=
"--help"
]
;
then
if
[
"
$1
"
=
"-h"
]
||
[
"
$1
"
=
"--help"
]
;
then
echo
"gitask ssh gear.alt task wrapper"
echo
"gitask ssh gear.alt task wrapper"
echo
"Use: gitask [GIRAR] [task|show|ls|quota]"
echo
"Use: gitask [GIRAR] [task|
log|
show|ls|quota]"
echo
"
$HELP_GIRAR
"
echo
"
$HELP_GIRAR
"
echo
" --help - help"
echo
" --help - help"
docmd ssh
$GEARHOST
task
help
|
sed
-e
"s|abort|cancel|g"
docmd ssh
$GEARHOST
task
help
|
sed
-e
"s|abort|cancel|g"
echo
echo
echo
"Examples:"
echo
"Examples:"
echo
" share NNNN [enable]"
echo
" new [p8] - create new task [on p8]"
echo
" add del package - add package remove command"
echo
" share NNNN [enable] - share task NNNN"
echo
" log NNNN - show build log for task NNNN"
echo
" show NNNN - show subtask list for task NNNN"
echo
" cancel NNNN - cancel task NNNN"
exit
0
exit
0
fi
fi
...
@@ -54,7 +59,7 @@ if [ "$1" = "find" ] ; then
...
@@ -54,7 +59,7 @@ if [ "$1" = "find" ] ; then
exit
exit
fi
fi
if
[
"
$1
"
=
"
show
"
]
;
then
if
[
"
$1
"
=
"
log
"
]
;
then
shift
shift
# TODO: show last task without args
# TODO: show last task without args
showcmd
"
$GEARHOST
>"
girar-show
"
$@
"
showcmd
"
$GEARHOST
>"
girar-show
"
$@
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment