-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Fix issue #404 - Allow to use bazel subtarget #689
Conversation
43e9827
to
3f4e502
Compare
pkg/skaffold/build/bazel.go
Outdated
func trimTarget(buildTarget string) string { | ||
|
||
//TODO(r2d4): strip off leading //:, bad | ||
trimedTarget := strings.TrimPrefix(buildTarget, "//") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: typos. Could you rename these to "trimmed"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done :)
3889ad4
to
31cf7ec
Compare
@fclaeys Can you please rebase to both update the branch and run the windows tests? Thanks! |
@dgageot branch updated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@dgageot @r2d4 Here is a first implementation to fix #404
This is my first contribution on the project do not hesitate to make me your remarks to improve the code.