Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ab147a commit 75883b9Copy full SHA for 75883b9
2 files changed
tools/qltest.cmd
@@ -1,5 +1,11 @@
1
@echo off
2
3
-CALL "%CODEQL_EXTRACTOR_RUBY_ROOT%\tools\autobuild.cmd"
+type NUL && "%CODEQL_DIST%\codeql.exe" database index-files ^
4
+ --prune=**/*.testproj ^
5
+ --include-extension=.rb ^
6
+ --include-extension=.erb ^
7
+ --size-limit=5m ^
8
+ --language=ruby ^
9
+ "%CODEQL_EXTRACTOR_RUBY_WIP_DATABASE%"
10
11
exit /b %ERRORLEVEL%
tools/qltest.sh
@@ -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=.\
12
+ "$CODEQL_EXTRACTOR_RUBY_WIP_DATABASE"
0 commit comments