[ymake.core.conf] Add COLLECT_FRONTEND_FILES macro
Note: mandatory check (NEED_CHECK) was skipped
@@ -5872,6 +5872,12 @@ when (!$ERROR_PRONE_VERSION) {
}
}
+### @usage: COLLECT_FRONTEND_FILES(Varname, Dir)
+###
+### Recursively collect files with typical frontend extensions from Dir and save the result into variable Varname
+macro COLLECT_FRONTEND_FILES(Varname, Dir) {
+ _GLOB($Varname $Dir/**/*.(css|ejs|jpg|js|jsx|png|styl|svg|ts|tsx))
+}
# local jdk and tools
USE_SYSTEM_JDK=
