OSDN Git Service

modify ci
[bytom/vapor.git] / vendor / github.com / go-kit / kit / update_deps.bash
diff --git a/vendor/github.com/go-kit/kit/update_deps.bash b/vendor/github.com/go-kit/kit/update_deps.bash
deleted file mode 100644 (file)
index 576e8b4..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/env bash
-
-# This script updates each non-stdlib, non-Go-kit dependency to its most recent
-# commit. It can be invoked to aid in debugging after a dependency-related
-# failure on continuous integration.
-
-function deps {
-       go list -f '{{join .Deps "\n"}}' ./...
-}
-
-function not_stdlib {
-       xargs go list -f '{{if not .Standard}}{{.ImportPath}}{{end}}'
-}
-
-function not_gokit {
-       grep -v 'go-kit/kit'
-}
-
-function go_get_update {
-       while read d
-       do
-               echo $d
-               go get -u $d || echo "failed, trying again with master" && cd $GOPATH/src/$d && git checkout master && go get -u $d
-       done
-}
-
-deps | not_stdlib | not_gokit | go_get_update
-