Skip to content

Commit f9c2e6a

Browse files
authored
Merge pull request #20 from github/prebuild
Install tutorial pack dependencies in codespace prebuild
2 parents 7394c99 + a790579 commit f9c2e6a

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

.devcontainer/onCreateCommand.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,10 @@
44
gh extensions install github/gh-codeql
55
gh codeql version # first command starts the download of the CodeQL CLI
66
# Make codeql visible to VSCode by using https://github.com/github/gh-codeql#codeql-stub, since VS Code expects an executable called codeql instead of gh codeql
7-
gh codeql install-stub ~/.local/bin/
7+
gh codeql install-stub ~/.local/bin/
8+
9+
# Install the tutorial-queries pack
10+
cd tutorial-queries
11+
echo "Installing tutorial-queries pack"
12+
gh codeql pack install
13+
cd ..

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@
22
.tours/codeql-tutorial-database/db-csv/default/cache/
33
.tours/codeql-tutorial-database/db-csv/default/strings/
44
.cache/
5-
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
lockVersion: 1.0.0
3+
dependencies:
4+
codeql/tutorial:
5+
version: 0.0.4
6+
compiled: false

0 commit comments

Comments
 (0)