github.com/openshift/source-to-image@v1.4.1-0.20240516041539-bf52fc02204e/hack/verify-deps.sh (about)

     1  #!/bin/bash
     2  
     3  set -o errexit
     4  set -o nounset
     5  set -o pipefail
     6  
     7  S2I_ROOT=$(dirname "${BASH_SOURCE}")/..
     8  source "${S2I_ROOT}/hack/common.sh"
     9  
    10  # double check the dependencies stored in vendor directory with the described dependency list in
    11  # local Go Module files, go.mod and go.sum.
    12  go mod verify