Introduce environment variable to specify framework assembly locations

This commit is contained in:
Tamas Vajk
2024-02-16 11:54:19 +01:00
parent d358f8e4f2
commit f8b29ad70e
10 changed files with 69 additions and 30 deletions

View File

@@ -1,5 +1,5 @@
from create_database_utils import *
import os
os.environ["CODEQL_EXTRACTOR_CSHARP_BUILDLESS_MONO_PATH"] = "/non-existent-path"
os.environ["CODEQL_EXTRACTOR_CSHARP_BUILDLESS_DOTNET_FRAMEWORK_REFERENCES"] = "/non-existent-path"
run_codeql_database_create([], lang="csharp", extra_args=["--extractor-option=buildless=true"])