mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Rust: add windows tools
This commit is contained in:
@@ -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__"],
|
||||
)
|
||||
|
||||
5
rust/tools/autobuild.cmd
Normal file
5
rust/tools/autobuild.cmd
Normal file
@@ -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}"
|
||||
|
||||
5
rust/tools/index-files.cmd
Normal file
5
rust/tools/index-files.cmd
Normal file
@@ -0,0 +1,5 @@
|
||||
@echo off
|
||||
|
||||
type NUL && "%CODEQL_EXTRACTOR_RUST_ROOT%\tools\%CODEQL_PLATFORM%\extractor" @"%1"
|
||||
|
||||
exit /b %ERRORLEVEL%
|
||||
Reference in New Issue
Block a user