Skip to content

Instantly share code, notes, and snippets.

@casualjim
Forked from anonymous/build-go-swagger.sh
Last active January 25, 2016 03:14
Show Gist options
  • Save casualjim/971ee2c4de8fb62b59fc to your computer and use it in GitHub Desktop.
Save casualjim/971ee2c4de8fb62b59fc to your computer and use it in GitHub Desktop.
building go-swagger — for a five year old
#---- run this section just once ----#
export GOPATH="${HOME}/go"
export GO15VENDOREXPERIMENT='1'
`
cd $GOPATH/src/github.com/go-swagger/go-swagger
go get -u github.com/asaskevich/govalidator
go get -u github.com/naoina/denco
go get -u github.com/go-swagger/scan-repo-boundary/makeplans
#--- now build & test ---#
go test $(go list ./... | grep -v vendor)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment