File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ # ###################################################################################
4+ #
5+ # Required for running `codeql test run my/test/dir`
6+ # when legacy_qltest_extraction is set to true in ruby/codeql-extractor.yml
7+ #
8+ #
9+ # FIXME: figure out what "non-legacy" test extraction looks like and how it works
10+ #
11+ # ###################################################################################
12+
13+ set -eu
14+
15+ echo " running index.sh"
16+ echo " CODEQL_PLATFORM: $CODEQL_PLATFORM "
17+ echo " CODEQL_EXTRACTOR_RUBY_ROOT: $CODEQL_EXTRACTOR_RUBY_ROOT "
18+ ls -lha " $CODEQL_EXTRACTOR_RUBY_ROOT /tools/$CODEQL_PLATFORM /"
19+
20+ if [ " $CODEQL_PLATFORM " != " linux64" ] && [ " $CODEQL_PLATFORM " != " osx64" ] ; then
21+ echo " Automatic build detection for $CODEQL_PLATFORM is not implemented."
22+ exit 1
23+ fi
24+
25+ " $CODEQL_EXTRACTOR_RUBY_ROOT /tools/$CODEQL_PLATFORM /ruby-autobuilder"
You can’t perform that action at this time.
0 commit comments