mirror of
https://github.com/github/codeql.git
synced 2026-04-24 16:25:15 +02:00
QLTest: ignore *.testproj folders
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
@echo off
|
||||
|
||||
CALL "%CODEQL_EXTRACTOR_RUBY_ROOT%\tools\autobuild.cmd"
|
||||
type NUL && "%CODEQL_DIST%\codeql.exe" database index-files ^
|
||||
--prune=**/*.testproj ^
|
||||
--include-extension=.rb ^
|
||||
--include-extension=.erb ^
|
||||
--size-limit=5m ^
|
||||
--language=ruby ^
|
||||
"%CODEQL_EXTRACTOR_RUBY_WIP_DATABASE%"
|
||||
|
||||
exit /b %ERRORLEVEL%
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
#! /bin/sh
|
||||
#!/bin/sh
|
||||
|
||||
exec "${CODEQL_EXTRACTOR_RUBY_ROOT}/tools/autobuild.sh"
|
||||
set -eu
|
||||
|
||||
exec "${CODEQL_DIST}/codeql" database index-files \
|
||||
--prune="**/*.testproj" \
|
||||
--include-extension=.rb \
|
||||
--include-extension=.erb \
|
||||
--size-limit=5m \
|
||||
--language=ruby \
|
||||
--working-dir=.\
|
||||
"$CODEQL_EXTRACTOR_RUBY_WIP_DATABASE"
|
||||
|
||||
Reference in New Issue
Block a user