1
0
mirror of https://github.com/mainflux/mainflux.git synced 2025-04-29 13:49:28 +08:00
Dejan Mijic c966a7802d
Integrate manager service
Setup top-level glide dependencies file. Migrated all of the manager
service code into this repository. Fixed docker build procedure.
Extracted executable to the top-level.

Signed-off-by: Dejan Mijic <dejan@mainflux.com>
2017-09-23 01:03:27 +02:00

29 lines
531 B
Bash
Executable File

#!/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
done
}
deps | not_stdlib | not_gokit | go_get_update