open-nomad/scripts/deps.sh
2015-09-29 15:42:57 -07:00

10 lines
260 B
Bash
Executable file

#!/bin/bash
# First get the OS-specific packages
GOOS=windows go get $@ github.com/StackExchange/wmi
GOOS=windows go get $@ github.com/shirou/w32
# Get the rest of the deps
DEPS=$(go list -f '{{range .TestImports}}{{.}} {{end}}' ./...)
go get $@ ./... $DEPS