Files
gousb/.appveyor/install.sh
2017-06-20 16:03:55 +02:00

16 lines
373 B
Bash

#!/usr/bin/env bash
export PATH="/mingw64/bin:${PATH}"
export PKG_CONFIG_PATH="/mingw64/lib/pkgconfig:${PKG_CONFIG_PATH}"
export GOROOT=/mingw64/lib/go
export GOPATH=/go
export CGO_ENABLED=1
pacman --noconfirm -S \
mingw64/mingw-w64-x86_64-go \
mingw64/mingw-w64-x86_64-libusb
go version
go get -t github.com/google/gousb/...
go test github.com/google/gousb/...