dk: action build par défaut

This commit is contained in:
Jephté Clain 2018-09-27 21:51:33 +04:00
parent 56b18a4eb6
commit e74480cccc
1 changed files with 3 additions and 0 deletions

3
dk
View File

@ -247,6 +247,9 @@ parse_args "$@"; set -- "${args[@]}"
[ -n "$chdir" ] && { cd "$chdir" || die; }
# construire par défaut
[ $# -eq 0 ] && set -- build
while [ $# -gt 0 ]; do
[ "$1" == -- ] && { shift; continue; }
cmd="$1"; shift