github.com/kardianos/nomad@v0.1.3-0.20151022182107-b13df73ee850/scripts/deps.sh (about) 1 #!/bin/bash 2 3 # First get the OS-specific packages 4 GOOS=windows go get $DEP_ARGS github.com/StackExchange/wmi 5 GOOS=windows go get $DEP_ARGS github.com/shirou/w32 6 GOOS=linux go get $DEP_ARGS github.com/docker/docker/pkg/units 7 GOOS=linux go get $DEP_ARGS github.com/docker/docker/pkg/mount 8 GOOS=linux go get $DEP_ARGS github.com/opencontainers/runc/libcontainer/cgroups/fs 9 GOOS=linux go get $DEP_ARGS github.com/opencontainers/runc/libcontainer/configs 10 11 # Get the rest of the deps 12 DEPS=$(go list -f '{{range .TestImports}}{{.}} {{end}}' ./...) 13 go get $DEP_ARGS ./... $DEPS