Skip to content

Commit

Permalink
Address shell-related comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
Katharine committed Sep 1, 2018
1 parent 13d1961 commit 9b790da
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ kubernetes.tar.gz
# TODO(thockin): uncomment this when we stop committing the generated files.
#zz_generated.*
zz_generated.openapi.go
zz_generated_*_test.go

# make-related metadata
/.make/
Expand Down
7 changes: 4 additions & 3 deletions hack/lib/golang.sh
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ kube::golang::path_for_coverage_dummy_test() {
local package="$1"
local path="${KUBE_GOPATH}/src/${package}"
local name=$(basename "${package}")
echo "$path/zz_autogenerated_${name}_test.go"
echo "$path/zz_generated_${name}_test.go"
}

# Argument: the name of a Kubernetes package (e.g. k8s.io/kubernetes/cmd/kube-scheduler).
Expand Down Expand Up @@ -504,8 +504,9 @@ kube::golang::delete_coverage_dummy_test() {
}

# Arguments: a list of kubernetes packages to build.
# Expected variables: build_args should be set to an array of Go build arguments.
# In addition, the standard build globals are assumed.
# Expected variables: ${build_args} should be set to an array of Go build arguments.
# In addition, ${package} and ${platform} should have been set earlier, and if
# ${build_with_coverage} is set, coverage instrumentation will be enabled.
#
# Invokes Go to actually build some packages. If coverage is disabled, simply invokes
# go install. If coverage is enabled, builds covered binaries using go test, temporarily
Expand Down

0 comments on commit 9b790da

Please sign in to comment.