930f29e2fd
In recent buildifier versions, lint errors can be fixed automatically: $ find . \( -name BUILD -o -name "*.bzl" \) -print \ | xargs buildifier --lint=fix This commit was created with Buildifier version 0.19.2: $ buildifier --version buildifier version: 0.19.2 buildifier scm revision: d39e4d5c25111527369142f16cdb49aa67707313 Change-Id: I1f06cd4596e794981ccc2d9fc2d1da9b17f3973a
24 lines
547 B
Python
24 lines
547 B
Python
load("//tools/bzl:asciidoc.bzl", "genasciidoc", "genasciidoc_zip", "release_notes_attributes")
|
|
|
|
SRCS = glob(["*.txt"])
|
|
|
|
genasciidoc(
|
|
name = "ReleaseNotes",
|
|
srcs = SRCS,
|
|
attributes = release_notes_attributes(),
|
|
backend = "html5",
|
|
resources = False,
|
|
searchbox = False,
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
genasciidoc_zip(
|
|
name = "html",
|
|
srcs = SRCS,
|
|
attributes = release_notes_attributes(),
|
|
backend = "html5",
|
|
resources = False,
|
|
searchbox = False,
|
|
visibility = ["//visibility:public"],
|
|
)
|