mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 10:25:42 +03:00
12 lines
407 B
Bash
Executable File
12 lines
407 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# First get the OS-specific packages
|
|
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/units
|
|
GOOS=linux go get $DEP_ARGS github.com/docker/docker/pkg/mount
|
|
|
|
# Get the rest of the deps
|
|
DEPS=$(go list -f '{{range .TestImports}}{{.}} {{end}}' ./...)
|
|
go get $DEP_ARGS ./... $DEPS
|