Skip to content

Commit

Permalink
Ruby: fix extractor pack script after workspace root change
Browse files Browse the repository at this point in the history
  • Loading branch information
Paolo Tranquilli committed Sep 11, 2024
1 parent 2a7533c commit f624a1b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ruby/scripts/create-extractor-pack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ else
echo "Unknown OS"
exit 1
fi
cd "$(dirname "$0")/.."

(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

codeql query format -i ql/lib/codeql/ruby/ast/internal/TreeSitter.qll
Expand Down

0 comments on commit f624a1b

Please sign in to comment.