mirror of https://github.com/k3s-io/k3s
Add pointer comments
parent
b2f8cf1bce
commit
8bdb67639f
|
@ -12,7 +12,8 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# genrule wrapper around the go-bindata utility.
|
||||
# Genrule wrapper around the go-bindata utility.
|
||||
# IMPORTANT: Any changes to this rule may also require changes to hack/generate-bindata.sh.
|
||||
def go_bindata(
|
||||
name, srcs, outs,
|
||||
compress=True,
|
||||
|
|
|
@ -41,6 +41,8 @@ pushd "${KUBE_ROOT}" >/dev/null
|
|||
|
||||
# These are files for e2e tests.
|
||||
BINDATA_OUTPUT="test/e2e/generated/bindata.go"
|
||||
# IMPORTANT: if you make any changes to these arguments, you must also update
|
||||
# test/e2e/generated/BUILD and/or build/bindata.bzl.
|
||||
go-bindata -nometadata -o "${BINDATA_OUTPUT}.tmp" -pkg generated \
|
||||
-ignore .jpg -ignore .png -ignore .md -ignore 'BUILD(\.bazel)?' \
|
||||
"test/e2e/testing-manifests/..." \
|
||||
|
@ -63,6 +65,8 @@ rm -f "${BINDATA_OUTPUT}.tmp"
|
|||
|
||||
# These are files for runtime code
|
||||
BINDATA_OUTPUT="pkg/generated/bindata.go"
|
||||
# IMPORTANT: if you make any changes to these arguments, you must also update
|
||||
# pkg/generated/BUILD and/or build/bindata.bzl.
|
||||
go-bindata -nometadata -nocompress -o "${BINDATA_OUTPUT}.tmp" -pkg generated \
|
||||
-ignore .jpg -ignore .png -ignore .md -ignore 'BUILD(\.bazel)?' \
|
||||
"translations/..."
|
||||
|
|
|
@ -6,6 +6,7 @@ load(
|
|||
)
|
||||
load("//build:bindata.bzl", "go_bindata")
|
||||
|
||||
# IMPORTANT: if you make any changes here, you must also update hack/generate-bindata.sh.
|
||||
go_bindata(
|
||||
name = "bindata",
|
||||
srcs = [
|
||||
|
|
|
@ -19,6 +19,7 @@ go_library(
|
|||
],
|
||||
)
|
||||
|
||||
# IMPORTANT: if you make any changes here, you must also update hack/generate-bindata.sh.
|
||||
go_bindata(
|
||||
name = "bindata",
|
||||
srcs = [
|
||||
|
|
Loading…
Reference in New Issue