mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Ruby: fix extractor pack script after workspace root change
This commit is contained in:
@@ -8,10 +8,12 @@ else
|
|||||||
echo "Unknown OS"
|
echo "Unknown OS"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
cd "$(dirname "$0")/.."
|
||||||
|
|
||||||
(cd extractor && cargo build --release)
|
(cd extractor && cargo build --release)
|
||||||
|
|
||||||
BIN_DIR=extractor/target/release
|
# we are in a cargo workspace rooted at the git checkout
|
||||||
|
BIN_DIR=../target/release
|
||||||
"$BIN_DIR/codeql-extractor-ruby" generate --dbscheme ql/lib/ruby.dbscheme --library ql/lib/codeql/ruby/ast/internal/TreeSitter.qll
|
"$BIN_DIR/codeql-extractor-ruby" generate --dbscheme ql/lib/ruby.dbscheme --library ql/lib/codeql/ruby/ast/internal/TreeSitter.qll
|
||||||
|
|
||||||
codeql query format -i ql/lib/codeql/ruby/ast/internal/TreeSitter.qll
|
codeql query format -i ql/lib/codeql/ruby/ast/internal/TreeSitter.qll
|
||||||
|
|||||||
Reference in New Issue
Block a user