add comment in several hack/ sh scripts.

This commit is contained in:
Kobayashi Daisuke
2020-01-22 13:48:13 +09:00
parent bae9f61150
commit ee00497ea9
5 changed files with 41 additions and 0 deletions

View File

@@ -16,6 +16,15 @@
# This script is a vestigial redirection. Please do not add "real" logic.
# This script runs `make all` command.
# The command compiles all Makefile configs.
# Args:
# WHAT: Directory names to build. If any of these directories has a 'main'
# package, the build will produce executable files under $(OUT_DIR)/go/bin.
# If not specified, "everything" will be built.
# Usage: `hack/build-go.sh`.
# Example: `hack/build-go.sh WHAT=cmd/kubelet`.
set -o errexit
set -o nounset
set -o pipefail