New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test dependencies flag to go get #3

merged 1 commit into from Feb 9, 2018


None yet
2 participants

alexmcroberts commented Jan 24, 2018

When running this build on CodeBuild, test dependencies were not fetched, which led to PRE_BUILD errors as follows:

main_test.go:9:2: cannot find package "" in any of: /usr/local/go/src/ (from $GOROOT) /go/src/ (from $GOPATH) /codebuild/output/src283397697/src/

By adding the -t flag, dependencies for tests are also fetched. More information on flags available for go get are available in the documentation for the get package

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

alexmcroberts referenced this pull request in dedalusj/lambda-go-samples Jan 24, 2018

@PaulMaddox PaulMaddox merged commit aa71d7a into aws-samples:master Feb 9, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment