Skip to content

Commit ed29b3e

Browse files
committed
Shared packs: Depend on codeql/tutorial from all language libraries
This allows `import tutorial` from queries targeting any language, just like before, while removing the duplicate copies of `tutorial.qll`.
1 parent d772998 commit ed29b3e

File tree

16 files changed

+11
-7750
lines changed

16 files changed

+11
-7750
lines changed

config/identical-files.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -505,14 +505,6 @@
505505
"python/ql/lib/semmle/python/dataflow/new/internal/TypeTracker.qll",
506506
"ruby/ql/lib/codeql/ruby/typetracking/TypeTracker.qll"
507507
],
508-
"CodeQL Tutorial": [
509-
"cpp/ql/lib/tutorial.qll",
510-
"csharp/ql/lib/tutorial.qll",
511-
"java/ql/lib/tutorial.qll",
512-
"javascript/ql/lib/tutorial.qll",
513-
"python/ql/lib/tutorial.qll",
514-
"ruby/ql/lib/tutorial.qll"
515-
],
516508
"AccessPathSyntax": [
517509
"csharp/ql/lib/semmle/code/csharp/dataflow/internal/AccessPathSyntax.qll",
518510
"go/ql/lib/semmle/go/dataflow/internal/AccessPathSyntax.qll",

cpp/ql/lib/qlpack.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ library: true
77
upgrades: upgrades
88
dependencies:
99
codeql/ssa: ${workspace}
10+
codeql/tutorial: ${workspace}

0 commit comments

Comments
 (0)