Add CUSTOM_PLUGINS to plugins build

Current implementation integrates only CORE_PLUGINS into
release.war however BUCK based build used to also include
CUSTOM_PLUGINS.

Change-Id: I779059ae705d1d0ea8d01857dd0567038dab79b8
Signed-off-by: Jacek Centkowski <jcentkowski@collab.net>
Signed-off-by: David Pursehouse <dpursehouse@collab.net>
This commit is contained in:
Jacek Centkowski 2017-02-24 14:59:15 +01:00 committed by David Pursehouse
parent 76553082d3
commit 75d1c18c91
1 changed files with 6 additions and 2 deletions

View File

@ -1,9 +1,13 @@
load("//tools/bzl:genrule2.bzl", "genrule2")
load("//tools/bzl:plugins.bzl", "CORE_PLUGINS")
load(
"//tools/bzl:plugins.bzl",
"CORE_PLUGINS",
"CUSTOM_PLUGINS",
)
genrule2(
name = "core",
srcs = ["//plugins/%s:%s.jar" % (n, n) for n in CORE_PLUGINS],
srcs = ["//plugins/%s:%s.jar" % (n, n) for n in CORE_PLUGINS + CUSTOM_PLUGINS],
outs = ["core.zip"],
cmd = "mkdir -p $$TMP/WEB-INF/plugins;" +
"for s in $(SRCS) ; do " +