diff options
author | spreis <spreis@yandex-team.ru> | 2022-02-10 16:47:13 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:13 +0300 |
commit | b49848d6e361b76904f094b7d5e10d6edea75afe (patch) | |
tree | 9814fbd1c3effac9b8377c5d604b367b14e2db55 /build/plugins/lj_archive.py | |
parent | bcd1126cbd5d445cd0665d295198aa39c6ab8cbe (diff) | |
download | ydb-b49848d6e361b76904f094b7d5e10d6edea75afe.tar.gz |
Restoring authorship annotation for <spreis@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'build/plugins/lj_archive.py')
-rw-r--r-- | build/plugins/lj_archive.py | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/build/plugins/lj_archive.py b/build/plugins/lj_archive.py index dec0abb870..1d80bb98f3 100644 --- a/build/plugins/lj_archive.py +++ b/build/plugins/lj_archive.py @@ -1,8 +1,8 @@ def onlj_archive(unit, *args): - """ - @usage: LJ_ARCHIVE(NAME Name LuaFiles...) - Precompile .lua files using LuaJIT and archive both sources and results using sources names as keys - """ + """ + @usage: LJ_ARCHIVE(NAME Name LuaFiles...) + Precompile .lua files using LuaJIT and archive both sources and results using sources names as keys + """ def iter_luas(l): for a in l: if a.endswith('.lua'): @@ -11,7 +11,7 @@ def onlj_archive(unit, *args): def iter_objs(l): for a in l: s = a[:-3] + 'raw' - unit.on_luajit_objdump(['OUT', s, a]) + unit.on_luajit_objdump(['OUT', s, a]) yield s luas = list(iter_luas(args)) @@ -21,10 +21,10 @@ def onlj_archive(unit, *args): unit.onarchive_by_keys(['DONTCOMPRESS', 'NAME', 'LuaSources.inc', 'KEYS', ':'.join(luas)] + luas) def onlj_21_archive(unit, *args): - """ - @usage: LJ_21_ARCHIVE(NAME Name LuaFiles...) # deprecated - Precompile .lua files using LuaJIT 2.1 and archive both sources and results using sources names as keys - """ + """ + @usage: LJ_21_ARCHIVE(NAME Name LuaFiles...) # deprecated + Precompile .lua files using LuaJIT 2.1 and archive both sources and results using sources names as keys + """ def iter_luas(l): for a in l: if a.endswith('.lua'): @@ -33,7 +33,7 @@ def onlj_21_archive(unit, *args): def iter_objs(l): for a in l: s = a[:-3] + 'raw' - unit.on_luajit_21_objdump(['OUT', s, a]) + unit.on_luajit_21_objdump(['OUT', s, a]) yield s luas = list(iter_luas(args)) |