10 lines
260 B
Bash
Executable file
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
|