aboutsummaryrefslogtreecommitdiffstats
path: root/build/scripts/make_java_classpath_file.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/scripts/make_java_classpath_file.py
parent03f024c4412e3aa613bb543cf1660176320ba8f4 (diff)
downloadydb-06e5c21a835c0e923506c4ff27929f34e00761c2.tar.gz
fix ya.make
Diffstat (limited to 'build/scripts/make_java_classpath_file.py')
-rw-r--r--build/scripts/make_java_classpath_file.py26
1 files changed, 0 insertions, 26 deletions
diff --git a/build/scripts/make_java_classpath_file.py b/build/scripts/make_java_classpath_file.py
deleted file mode 100644
index c70a7876d7..0000000000
--- a/build/scripts/make_java_classpath_file.py
+++ /dev/null
@@ -1,26 +0,0 @@
-import os
-import sys
-
-import process_command_files as pcf
-
-
-def make_cp_file(args):
- source = args[0]
- destination = args[1]
- with open(source) as src:
- lines = [l.strip() for l in src if l.strip()]
- with open(destination, 'w') as dst:
- dst.write(os.pathsep.join(lines))
-
-def make_cp_file_from_args(args):
- destination = args[0]
- with open(destination, 'w') as dst:
- dst.write(os.pathsep.join(args[1:]))
-
-
-if __name__ == '__main__':
- args = pcf.get_args(sys.argv[1:])
- if sys.argv[1] != '--from-args':
- make_cp_file(args)
- else:
- make_cp_file_from_args(args[1:])