github.com/nak3/source-to-image@v1.1.10-0.20180319140719-2ed55639898d/hack/install-tools.sh (about)

     1  #!/bin/bash
     2  
     3  set -o errexit
     4  set -o nounset
     5  set -o pipefail
     6  
     7  STARTTIME=$(date +%s)
     8  
     9  echo $(go version)
    10  
    11  go get github.com/tools/godep github.com/golang/lint/golint
    12  
    13  ret=$?; ENDTIME=$(date +%s); echo "$0 took $(($ENDTIME - $STARTTIME)) seconds"; exit "$ret"