Skip to content

Commit 0e99d5e

Browse files
committed
Add examples of both tracing mechanisms
1 parent 6dd30ee commit 0e99d5e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/codeql/codeql-cli/creating-codeql-databases.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,9 +202,12 @@ commands that you can specify for compiled languages.
202202

203203
codeql database create csharp-database --language=csharp --command='dotnet build /p:UseSharedCompilation=false /t:rebuild'
204204

205+
- Go project built using the ``COEQL_EXTRACTOR_GO_BUILD_TRACING=on`` environment variable::
206+
CODEQL_EXTRACTOR_GO_BUILD_TRACING=on codeql database create go-database --language=go
207+
205208
- Go project built using a custom build script::
206209

207-
CODEQL_EXTRACTOR_GO_BUILD_TRACING=on codeql database create go-database --language=go --command='./scripts/build.sh'
210+
codeql database create go-database --language=go --command='./scripts/build.sh'
208211

209212
- Java project built using Gradle::
210213

0 commit comments

Comments
 (0)