github.com/gdevillele/moby@v1.13.0/hack/vendor.sh (about)

     1  #!/bin/bash
     2  
     3  # This file is just wrapper around vndr (github.com/LK4D4/vndr) tool.
     4  # For updating dependencies you should change `vendor.conf` file in root of the
     5  # project. Please refer to https://github.com/LK4D4/vndr/blob/master/README.md for
     6  # vndr usage.
     7  
     8  set -e
     9  
    10  if ! hash vndr; then
    11  	echo "Please install vndr with \"go get github.com/LK4D4/vndr\" and put it in your \$GOPATH"
    12  	exit 1
    13  fi
    14  
    15  vndr "$@"