blob: 7f19914e433a75436b27b9d7199d0ccc1851c4d5 [file] [log] [blame]
#
# Description: Bazel aspect bundled with the Bazel IntelliJ plugin.
#
licenses(["notice"]) # Apache 2.0
# the aspect files that will be bundled with the final plugin zip
filegroup(
name = "aspect_files",
srcs = [
"WORKSPACE",
"intellij_info.bzl",
"intellij_info_impl.bzl",
":BUILD.bazel",
"//aspect/tools:JarFilter_deploy.jar",
"//aspect/tools:PackageParser_deploy.jar",
],
visibility = ["//visibility:public"],
)
# BUILD file bundled with the aspect must not override the BUILD file
# used for development. So we name it BUILD.aspect, and rename prior
# to bundling with the plugin.
genrule(
name = "rename_files",
srcs = ["BUILD.aspect"],
outs = ["BUILD.bazel"],
cmd = "cp $< $@",
)