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
commitbcd1126cbd5d445cd0665d295198aa39c6ab8cbe (patch)
treed41d29a041d5733ef148335290dbb817b197d4cd /build/plugins/bundle.py
parent986cb5d624f352524bfa0c42c9a7695235cdaa41 (diff)
downloadydb-bcd1126cbd5d445cd0665d295198aa39c6ab8cbe.tar.gz
Restoring authorship annotation for <spreis@yandex-team.ru>. Commit 1 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 0bec8254ee..392c246d4f 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])