mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Swift: add pre-commit to codespace
This commit is contained in:
@@ -8,6 +8,10 @@ echo "--search-path /workspaces/codeql" > /home/vscode/.config/codeql/config
|
||||
cd /workspaces/codeql
|
||||
bazel run swift/create-extractor-pack
|
||||
|
||||
#install and set up pre-commit
|
||||
python3 -m pip install pre-commit
|
||||
pre-commit install
|
||||
|
||||
cat >> $HOME/.bashrc << EOF
|
||||
|
||||
# have the codeql binary installed by vscode automatically in PATH
|
||||
|
||||
Reference in New Issue
Block a user