diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-02-14 12:34:52 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-02-14 12:34:52 +0200 |
commit | 6fd66490f2cc23cb0d95a52486b72b7ec55d81ba (patch) | |
tree | da4d170356c22716b2bdd5bb74ead29e963a6070 /check | |
parent | 61c598e14f362a58d2c30233cc8d042977198ac6 (diff) | |
download | ick2-6fd66490f2cc23cb0d95a52486b72b7ec55d81ba.tar.gz |
Change: allow user to only run yarns with ./check
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 |