Bazel docs: Extract tarballs with --warning=no-unknown-keyword
Currently the //site target produces 8000 (!) lines of warnings ("tar: Ignoring unknown extended header keyword ...").
@@ -52,7 +52,7 @@ readonly VERSION_DIR="$OUT_DIR/versions/$VERSION"
function setup {
mkdir -p "$OUT_DIR"
cd "$OUT_DIR"
- tar -xf "${JEKYLL_BASE}"
+ tar --warning=no-unknown-keyword -xf "${JEKYLL_BASE}"
mkdir -p "$VERSION_DIR"
mv "$OUT_DIR"/docs/* "$VERSION_DIR"
@@ -99,7 +99,7 @@ function unpack_skylark_rule_docs {
local tmp_dir=$TMP/skylark
mkdir -p $tmp_dir
cd "$tmp_dir"
- tar -xf "${STARLARK_RULE_DOCS}"
+ tar --warning=no-unknown-keyword -xf "${STARLARK_RULE_DOCS}"
copy_skylark_rule_doc pkg "Packaging"
}
