mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Rust: support paths and paths-ignore from the code scanning configuration file
This is done by simply adding the autobuilder from the shared tree-sitter extractor library.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
@echo off
|
||||
|
||||
type NUL && "%CODEQL_DIST%\codeql.exe" database index-files --working-dir=. --language=rust --include-extension=.rs "%CODEQL_EXTRACTOR_RUST_WIP_DATABASE%"
|
||||
type NUL && "%CODEQL_EXTRACTOR_RUST_ROOT%\tools\%CODEQL_PLATFORM%\autobuild"
|
||||
|
||||
exit /b %ERRORLEVEL%
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
|
||||
set -eu
|
||||
|
||||
export RUST_BACKTRACE=1
|
||||
exec "${CODEQL_DIST}/codeql" database index-files \
|
||||
--working-dir=. --language=rust --include-extension=.rs \
|
||||
"${CODEQL_EXTRACTOR_RUST_WIP_DATABASE}"
|
||||
exec "$CODEQL_EXTRACTOR_RUST_ROOT/tools/$CODEQL_PLATFORM/autobuild"
|
||||
|
||||
Reference in New Issue
Block a user