aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzaverden <zaverden@yandex-team.com>2023-03-20 18:28:34 +0300
committerzaverden <zaverden@yandex-team.com>2023-03-20 18:28:34 +0300
commitdf6df1e7035a4550e1f608fc5b5208a7b6ec2bea (patch)
tree5645e0ddfbac77191843e6711c4e1cb35b7889fd
parentb1d92282f53659f441d1532d27887d584a22ffd1 (diff)
downloadydb-df6df1e7035a4550e1f608fc5b5208a7b6ec2bea.tar.gz
chore: add documentary comments
добавлены комментарии по ревью https://a.yandex-team.ru/review/3583935/details#comment--4997603
-rw-r--r--build/conf/ts.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/build/conf/ts.conf b/build/conf/ts.conf
index d175ebe011..789d06c9f2 100644
--- a/build/conf/ts.conf
+++ b/build/conf/ts.conf
@@ -282,6 +282,11 @@ macro _TS_LIBRARY_EPILOGUE() {
_GLOB(_TS_LINT_SRCS_VALUE ${CURDIR}/**/*.(ts|tsx) EXCLUDE **/node_modules/**/*.(ts|tsx))
}
+# workspace_node_modules.tar has to be in outputs to become available for test_tool.
+# we cannot redeclare node_modules.tar (it's in $NOTS_TOOL_NODE_MODULES_BUNDLE) as output,
+# because this path is in outputs of create-node-modules command, and we can't have same path
+# as output of several graph nodes.
+# we use $MOVE_FILE as the most cheap way to get another path for a file.
TS_TEST_CMD=$TOUCH_UNIT \
&& ${cwd:BINDIR} $MOVE_FILE $NOTS_TOOL_NODE_MODULES_BUNDLE ${output:"workspace_node_modules.tar"} \
${kv;hide:"p TSTEST"} ${kv;hide:"pc magenta"}