Skip to content

Commit 11c154e

Browse files
committed
C#: enable buildless mode
1 parent ee08e8b commit 11c154e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

csharp/tools/autobuild.cmd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
@echo off
22

3+
set CODEQL_EXTRACTOR_CSHARP_OPTION_BUILDLESS=true
4+
35
type NUL && "%CODEQL_EXTRACTOR_CSHARP_ROOT%/tools/%CODEQL_PLATFORM%/Semmle.Autobuild.CSharp.exe"
46
exit /b %ERRORLEVEL%

csharp/tools/autobuild.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,6 @@ if [ "$CODEQL_PLATFORM" != "linux64" ] && [ "$CODEQL_PLATFORM" != "osx64" ] ; th
77
exit 1
88
fi
99

10+
export CODEQL_EXTRACTOR_CSHARP_OPTION_BUILDLESS=true
11+
1012
"$CODEQL_EXTRACTOR_CSHARP_ROOT/tools/$CODEQL_PLATFORM/Semmle.Autobuild.CSharp" || exit $?

0 commit comments

Comments
 (0)