aboutsummaryrefslogtreecommitdiffstats
path: root/build/conf/ts/ts.conf
diff options
context:
space:
mode:
authorzaverden <zaverden@yandex-team.com>2023-09-06 15:23:45 +0300
committerzaverden <zaverden@yandex-team.com>2023-09-06 15:56:10 +0300
commitca594624ee938ed5ba30ec19be26320a9e0f9395 (patch)
tree943326fdccd18f80e21ca878efd0935f10ec7381 /build/conf/ts/ts.conf
parent18f12f33d1ce1a607a5e12d1d2091d065541159d (diff)
downloadydb-ca594624ee938ed5ba30ec19be26320a9e0f9395.tar.gz
feat(conf): add TS_FILES macro
Diffstat (limited to 'build/conf/ts/ts.conf')
-rw-r--r--build/conf/ts/ts.conf11
1 files changed, 11 insertions, 0 deletions
diff --git a/build/conf/ts/ts.conf b/build/conf/ts/ts.conf
index e34f7d6a19..71d3286fe8 100644
--- a/build/conf/ts/ts.conf
+++ b/build/conf/ts/ts.conf
@@ -12,6 +12,8 @@ module _TS_BASE_UNIT: _BARE_UNIT {
.NODE_TYPE=Bundle
# Needed for DEPENDS in tests to choose right submodule from multimodule
.FINAL_TARGET=yes
+ # use TS_FILES instead of FILES
+ .ALIASES=FILES=TS_FILES
# .NODE_TYPE=Bundle is required for peers propagation, but it also affects
# how merging of pic/nopic graphs. Here we can override this merging behaviour
@@ -42,6 +44,15 @@ macro _TS_CONFIG_EPILOGUE() {
_SETUP_EXTRACT_NODE_MODULES_RECIPE(${MODDIR})
}
+_TS_FILES_COPY_CMD=
+
+### TS_FILES(Files...)
+###
+### Adds files to output as is. Similar to FILES but works for TS build modules
+macro TS_FILES(Files...) {
+ _TS_FILES($Files)
+}
+
@import "${CONF_ROOT}/conf/ts/node_modules.conf"
@import "${CONF_ROOT}/conf/ts/ts_bundle.conf"
@import "${CONF_ROOT}/conf/ts/ts_library.conf"