File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 11@ echo off
22
33if not defined CODEQL_EXTRACTOR_CDS_SKIP_EXTRACTION (
4+ echo Running database index-files for CDS (.cds) files ...
5+
46 type NUL && " %CODEQL_DIST% \codeql.exe" database index-files ^
57 --include-extension=.cds ^
68 --language cds ^
@@ -9,6 +11,28 @@ if not defined CODEQL_EXTRACTOR_CDS_SKIP_EXTRACTION (
911 --total-size-limit=10m ^
1012 -- ^
1113 " %CODEQL_EXTRACTOR_JAVASCRIPT_WIP_DATABASE% "
14+
15+ echo Finished running database index-files for CDS (.cds) files.
1216)
1317
18+ echo Running database index-files for UI5 (.view.xml and .fragment.xml) files ...
19+
20+ type NUL && " %CODEQL_DIST% \codeql.exe" database index-files ^
21+ --include-extension=.view.xml ^
22+ --include-extension=.fragment.xml ^
23+ --language xml ^
24+ --prune **\node_modules\**\* ^
25+ --prune **\.eslint\**\* ^
26+ --total-size-limit=10m ^
27+ -- ^
28+ " %CODEQL_EXTRACTOR_JAVASCRIPT_WIP_DATABASE% "
29+
30+ echo Finished running database index-files for UI5 (.view.xml and .fragment.xml) files.
31+
32+ REM UI5 also requires *.view.json files and *.view.html files be indexed, but these are indexed by
33+ REM default by CodeQL.
34+
35+ REM XSJS also requires indexing of *.xsaccess files, *.xsjs files and xs-app.json files, but these
36+ REM are indexed by default by CodeQL.
37+
1438exit /b %ERRORLEVEL%
You can’t perform that action at this time.
0 commit comments