diff options
Diffstat (limited to 'check')
-rwxr-xr-x | check | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -32,16 +32,24 @@ title() title Remote or local yarns? remote=no +unit=yes if [ "$#" -gt 0 ] then case "$1" in https://*) remote=yes + unit=no remote_url="$1" shift 1 ;; + yarns) + remote=no + unit=no + shift 1 + ;; local) remote=no + unit=yes shift 1 ;; *) @@ -50,15 +58,9 @@ then ;; esac fi -if [ "$remote" = no ] -then - echo "Run yarns against a locally managed instance" -else - echo "Run yarns against remote instance $remote_url" -fi -if [ "$remote" = no ] +if [ "$unit" = yes ] then title Unit tests python3 -m CoverageTestRunner --ignore-missing-from=without-tests ick2 |