Skip to content
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

Make golang dependencies a non-phony target #65

Merged
merged 1 commit into from
Jan 5, 2016

Conversation

tgross
Copy link
Contributor

@tgross tgross commented Jan 5, 2016

For #64

Mount the .godeps/ directory (on the local machine) to a spot nested within the /go/src directory in the build container so that we can run our build without manipulating the GOPATH but still take advantage of caching the cloned dependencies on disk.

cc @justenwalker

@tgross
Copy link
Contributor Author

tgross commented Jan 5, 2016

Odd... what I have here seems to work for the first run but then is treating make test like it's not PHONY. Looking into it.

@tgross
Copy link
Contributor Author

tgross commented Jan 5, 2016

Odd... what I have here seems to work for the first run but then is treating make test like it's not PHONY. Looking into it.

Ah, which you already ran into in https://github.com/joyent/containerbuddy/pull/58/files#diff-cd5dbf3629c558b0104ba8f0937d6816R48. I'll rebase on that and double-check.

Mount the .godeps directory on the local machine nested within the
/go/src directory so that we can run our build without manipulating the
GOPATH but still take advantage of caching the cloned dependencies on
disk.
@tgross
Copy link
Contributor Author

tgross commented Jan 5, 2016

Ok, rebased on joyent/master and that seems to work as expected. Once TravisCI give us the OK, I think this is ready, @justenwalker

@justenwalker
Copy link
Contributor

LGTM - it's really nice to increase the iteration speed like this.

tgross added a commit that referenced this pull request Jan 5, 2016
Make golang dependencies a non-phony target
@tgross tgross merged commit 15fbe6e into TritonDataCenter:master Jan 5, 2016
@tgross tgross deleted the gh64_no_phony_deps branch April 4, 2017 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants