open-nomad/scripts/deps.sh

14 lines
570 B
Bash
Raw Normal View History

2015-09-29 22:42:49 +00:00
#!/bin/bash
# First get the OS-specific packages
2015-09-30 19:39:05 +00:00
GOOS=windows go get $DEP_ARGS github.com/StackExchange/wmi
GOOS=windows go get $DEP_ARGS github.com/shirou/w32
2015-10-05 20:36:25 +00:00
GOOS=linux go get $DEP_ARGS github.com/docker/docker/pkg/units
GOOS=linux go get $DEP_ARGS github.com/docker/docker/pkg/mount
2015-10-06 17:51:18 +00:00
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
2015-09-29 22:42:49 +00:00
# Get the rest of the deps
DEPS=$(go list -f '{{range .TestImports}}{{.}} {{end}}' ./...)
2015-09-30 19:39:05 +00:00
go get $DEP_ARGS ./... $DEPS