aboutsummaryrefslogtreecommitdiffstats
path: root/build/plugins/bundle.py
diff options
context:
space:
mode:
authormonster <monster@ydb.tech>2022-07-07 14:41:37 +0300
committermonster <monster@ydb.tech>2022-07-07 14:41:37 +0300
commit06e5c21a835c0e923506c4ff27929f34e00761c2 (patch)
tree75efcbc6854ef9bd476eb8bf00cc5c900da436a2 /build/plugins/bundle.py
parent03f024c4412e3aa613bb543cf1660176320ba8f4 (diff)
downloadydb-06e5c21a835c0e923506c4ff27929f34e00761c2.tar.gz
fix ya.make
Diffstat (limited to 'build/plugins/bundle.py')
-rw-r--r--build/plugins/bundle.py22
1 files changed, 0 insertions, 22 deletions
diff --git a/build/plugins/bundle.py b/build/plugins/bundle.py
deleted file mode 100644
index 0bec8254ee..0000000000
--- a/build/plugins/bundle.py
+++ /dev/null
@@ -1,22 +0,0 @@
-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.
- """
- i = 0
- while i < len(args):
- if i + 2 < len(args) and args[i + 1] == "NAME":
- target, name = args[i], args[i + 2]
- i += 3
- else:
- target, name = args[i], os.path.basename(args[i])
- i += 1
-
- unit.on_bundle_target([target, name])