2016-01-28 01:37:29 +00:00
|
|
|
#!/usr/bin/env bash
|
2015-09-29 22:42:49 +00:00
|
|
|
|
|
|
|
# First get the OS-specific packages
|
2017-09-09 00:42:42 +00:00
|
|
|
GOOS=windows go get "${DEP_ARGS}" github.com/StackExchange/wmi
|
|
|
|
GOOS=windows go get "${DEP_ARGS}" github.com/shirou/w32
|
|
|
|
GOOS=linux go get "${DEP_ARGS}" github.com/docker/docker/pkg/mount
|
|
|
|
GOOS=linux go get "${DEP_ARGS}" github.com/opencontainers/runc/libcontainer/cgroups/fs
|
|
|
|
GOOS=linux go get "${DEP_ARGS}" github.com/opencontainers/runc/libcontainer/configs
|
|
|
|
GOOS=linux go get "${DEP_ARGS}" github.com/coreos/go-systemd/util
|
|
|
|
GOOS=linux go get "${DEP_ARGS}" github.com/coreos/go-systemd/dbus
|
2015-09-29 22:42:49 +00:00
|
|
|
|
|
|
|
# Get the rest of the deps
|
|
|
|
DEPS=$(go list -f '{{range .TestImports}}{{.}} {{end}}' ./...)
|
2017-09-09 00:42:42 +00:00
|
|
|
go get "${DEP_ARGS}" ./... "${DEPS}"
|