mirror of
https://github.com/github/codeql.git
synced 2026-02-09 11:41:06 +01:00
QL: Update devcontainer files
This commit is contained in:
@@ -23,14 +23,14 @@ if [ "${CURRENT_CODEQL_BIN}" != "${LATEST_CODEQL_BIN}" ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "Build the Ruby extractor"
|
||||
echo "Build the QL extractor"
|
||||
|
||||
# clone the git dependencies using "git clone" because cargo's builtin git support is rather slow
|
||||
REPO_DIR="${CARGO_HOME:-/home/vscode/.cargo}/git/db"
|
||||
REPO_DIR_ERB="${REPO_DIR}/tree-sitter-embedded-template-4c796e3340c233b6"
|
||||
REPO_DIR_RUBY="${REPO_DIR}/tree-sitter-ruby-666a40ce046f8e7a"
|
||||
REPO_DIR_QL="${REPO_DIR}/tree-sitter-ql-52319df96d97078e"
|
||||
|
||||
mkdir -p "${REPO_DIR}"
|
||||
test -e "${REPO_DIR_RUBY}" || git clone -q --bare https://github.com/tree-sitter/tree-sitter-ql.git "${REPO_DIR_RUBY}"
|
||||
test -e "${REPO_DIR_QL}" || git clone -q --bare https://github.com/tree-sitter/tree-sitter-ql.git "${REPO_DIR_QL}"
|
||||
|
||||
./create-extractor-pack.sh
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#! /bin/bash
|
||||
|
||||
mkdir -p /home/vscode/.config/codeql
|
||||
echo '--search-path /workspaces/codeql-ruby' >> /home/vscode/.config/codeql/config
|
||||
echo '--search-path /workspaces/codeql-ql' >> /home/vscode/.config/codeql/config
|
||||
|
||||
Reference in New Issue
Block a user