github.com/mattyr/nomad@v0.3.3-0.20160919021406-3485a065154a/scripts/deps.sh (about)

     1  #!/usr/bin/env 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/mount
     7  GOOS=linux go get $DEP_ARGS github.com/opencontainers/runc/libcontainer/cgroups/fs
     8  GOOS=linux go get $DEP_ARGS github.com/opencontainers/runc/libcontainer/configs
     9  GOOS=linux go get $DEP_ARGS github.com/coreos/go-systemd/util
    10  GOOS=linux go get $DEP_ARGS github.com/coreos/go-systemd/dbus
    11  
    12  # Get the rest of the deps
    13  DEPS=$(go list -f '{{range .TestImports}}{{.}} {{end}}' ./...)
    14  go get $DEP_ARGS ./... $DEPS