mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Move files to ruby subfolder
This commit is contained in:
5
ruby/tools/autobuild.cmd
Normal file
5
ruby/tools/autobuild.cmd
Normal file
@@ -0,0 +1,5 @@
|
||||
@echo off
|
||||
|
||||
type NUL && "%CODEQL_EXTRACTOR_RUBY_ROOT%\tools\%CODEQL_PLATFORM%\autobuilder"
|
||||
|
||||
exit /b %ERRORLEVEL%
|
||||
3
ruby/tools/autobuild.sh
Executable file
3
ruby/tools/autobuild.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
exec "${CODEQL_EXTRACTOR_RUBY_ROOT}/tools/${CODEQL_PLATFORM}/autobuilder"
|
||||
8
ruby/tools/index-files.cmd
Normal file
8
ruby/tools/index-files.cmd
Normal file
@@ -0,0 +1,8 @@
|
||||
@echo off
|
||||
|
||||
type NUL && "%CODEQL_EXTRACTOR_RUBY_ROOT%\tools\win64\extractor.exe" ^
|
||||
--file-list "%1" ^
|
||||
--source-archive-dir "%CODEQL_EXTRACTOR_RUBY_SOURCE_ARCHIVE_DIR%" ^
|
||||
--output-dir "%CODEQL_EXTRACTOR_RUBY_TRAP_DIR%"
|
||||
|
||||
exit /b %ERRORLEVEL%
|
||||
8
ruby/tools/index-files.sh
Executable file
8
ruby/tools/index-files.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -eu
|
||||
|
||||
exec "${CODEQL_EXTRACTOR_RUBY_ROOT}/tools/${CODEQL_PLATFORM}/extractor" \
|
||||
--file-list "$1" \
|
||||
--source-archive-dir "$CODEQL_EXTRACTOR_RUBY_SOURCE_ARCHIVE_DIR" \
|
||||
--output-dir "$CODEQL_EXTRACTOR_RUBY_TRAP_DIR"
|
||||
13
ruby/tools/qltest.cmd
Normal file
13
ruby/tools/qltest.cmd
Normal file
@@ -0,0 +1,13 @@
|
||||
@echo off
|
||||
|
||||
type NUL && "%CODEQL_DIST%\codeql.exe" database index-files ^
|
||||
--prune=**/*.testproj ^
|
||||
--include-extension=.rb ^
|
||||
--include-extension=.erb ^
|
||||
--include-extension=.gemspec ^
|
||||
--include=**/Gemfile ^
|
||||
--size-limit=5m ^
|
||||
--language=ruby ^
|
||||
"%CODEQL_EXTRACTOR_RUBY_WIP_DATABASE%"
|
||||
|
||||
exit /b %ERRORLEVEL%
|
||||
14
ruby/tools/qltest.sh
Executable file
14
ruby/tools/qltest.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -eu
|
||||
|
||||
exec "${CODEQL_DIST}/codeql" database index-files \
|
||||
--prune="**/*.testproj" \
|
||||
--include-extension=.rb \
|
||||
--include-extension=.erb \
|
||||
--include-extension=.gemspec \
|
||||
--include="**/Gemfile" \
|
||||
--size-limit=5m \
|
||||
--language=ruby \
|
||||
--working-dir=.\
|
||||
"$CODEQL_EXTRACTOR_RUBY_WIP_DATABASE"
|
||||
Reference in New Issue
Block a user