зеркало из https://github.com/github/codeql.git
Rust: add windows tools
This commit is contained in:
Родитель
6618906380
Коммит
afb9ffa50e
|
@ -2,6 +2,7 @@ load("//misc/bazel:pkg.bzl", "codeql_pkg_files")
|
|||
|
||||
codeql_pkg_files(
|
||||
name = "tools",
|
||||
srcs = glob(["*.cmd"]),
|
||||
exes = glob(["*.sh"]),
|
||||
visibility = ["//rust:__pkg__"],
|
||||
)
|
||||
|
|
|
@ -0,0 +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%"
|
||||
|
||||
exit /b %ERRORLEVEL%
|
|
@ -2,5 +2,4 @@
|
|||
|
||||
exec "${CODEQL_DIST}/codeql" database index-files \
|
||||
--working-dir=. --language=rust --include-extension=.rs \
|
||||
${CODEQL_VERBOSITY:+"--verbosity=${CODEQL_VERBOSITY}"} \
|
||||
"${CODEQL_EXTRACTOR_RUST_WIP_DATABASE}"
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
@echo off
|
||||
|
||||
type NUL && "%CODEQL_EXTRACTOR_RUST_ROOT%\tools\%CODEQL_PLATFORM%\extractor" @"%1"
|
||||
|
||||
exit /b %ERRORLEVEL%
|
Загрузка…
Ссылка в новой задаче