diff --git a/SHA1SUM b/SHA1SUM index fe8f8dd4..d794356d 100644 --- a/SHA1SUM +++ b/SHA1SUM @@ -1 +1 @@ -2956da02f4d9dcbcab0ff1b9caf9a6864a16e60d codecov +a0a6a995c0344a91f842d706be0ce382198f9c3e codecov diff --git a/SHA256SUM b/SHA256SUM index e62246a1..938f7830 100644 --- a/SHA256SUM +++ b/SHA256SUM @@ -1 +1 @@ -0156a6ac707a4bef39b60b64469c88f078f9983f61b5082ddb7986b0024fd5e4 codecov +6b3a7a4dc3ba8bdaa12b1341cddc310b780d5e9eb1ef51d240c8ada352a763fa codecov diff --git a/SHA512SUM b/SHA512SUM index be32a6dc..69ffac97 100644 --- a/SHA512SUM +++ b/SHA512SUM @@ -1 +1 @@ -49443c7828e32cd727929f28bbbb84cce335615d3c7fbe10c5eeaee20018e0f5374c32dcf24f12ca82b8aff78b1f427baae9e8618cb3cfb087a2c909c8933a0f codecov +08c2e1854c0c45fcfcfb8923c5b2799d8cf252f0b75e590dbac1a70506a93688ee1b4dc4c96846575224c58b1e362d0ebb1bcebf163c38cb93bd65484ae9b3bc codecov diff --git a/codecov b/codecov index 7b1f654c..4e25fd61 100755 --- a/codecov +++ b/codecov @@ -82,6 +82,7 @@ b="\033[0;36m" g="\033[0;32m" r="\033[0;31m" e="\033[0;90m" +y="\033[0;33m" x="\033[0m" show_help() { @@ -469,6 +470,29 @@ say " " +# check for installed tools +# git/hg +if [ -x "$(command -v git)" ]; +then + say " $(git --version) found" +else + say "$y==>$x git not installed, testing for mercurial" + if [ -x "$(command -v hg)" ]; + then + say " $(hg --version) found" + else + say "$r==>$x git nor mercurial are installed. Uploader may fail or have unintended consequences" + fi +fi +# curl +if [ -x "$(command -v curl)" ]; +then + say " $(curl --version) found" +else + say "$r==>$x curl not installed. Exiting." + exit ${exit_with}; +fi + search_in="$proj_root" #shellcheck disable=SC2154