aboutsummaryrefslogtreecommitdiffstats
path: root/build/plugins/bundle.py
diff options
context:
space:
mode:
authorspreis <spreis@yandex-team.ru>2022-02-10 16:47:13 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:13 +0300
commitb49848d6e361b76904f094b7d5e10d6edea75afe (patch)
tree9814fbd1c3effac9b8377c5d604b367b14e2db55 /build/plugins/bundle.py
parentbcd1126cbd5d445cd0665d295198aa39c6ab8cbe (diff)
downloadydb-b49848d6e361b76904f094b7d5e10d6edea75afe.tar.gz
Restoring authorship annotation for <spreis@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'build/plugins/bundle.py')
-rw-r--r--build/plugins/bundle.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/build/plugins/bundle.py b/build/plugins/bundle.py
index 392c246d4f..0bec8254ee 100644
--- a/build/plugins/bundle.py
+++ b/build/plugins/bundle.py
@@ -2,14 +2,14 @@ import os
def onbundle(unit, *args):
- """
- @usage BUNDLE(<Dir [NAME Name]>...)
-
- Brings build artefact from module Dir under optional Name to the current module (e.g. UNION)
- If NAME is not specified, the name of the Dir's build artefact will be preserved
- It makes little sense to specify BUNDLE on non-final targets and so this may stop working without prior notice.
- Bundle on multimodule will select final target among multimodule variants and will fail if there are none or more than one.
- """
+ """
+ @usage BUNDLE(<Dir [NAME Name]>...)
+
+ Brings build artefact from module Dir under optional Name to the current module (e.g. UNION)
+ If NAME is not specified, the name of the Dir's build artefact will be preserved
+ It makes little sense to specify BUNDLE on non-final targets and so this may stop working without prior notice.
+ Bundle on multimodule will select final target among multimodule variants and will fail if there are none or more than one.
+ """
i = 0
while i < len(args):
if i + 2 < len(args) and args[i + 1] == "NAME":
@@ -19,4 +19,4 @@ def onbundle(unit, *args):
target, name = args[i], os.path.basename(args[i])
i += 1
- unit.on_bundle_target([target, name])
+ unit.on_bundle_target([target, name])