Co-authored-by: Nick Rolfe <nickrolfe@github.com>
This commit is contained in:
Arthur Baars 2021-08-02 17:40:10 +02:00
Родитель 58a6f5a783
Коммит 38f82ffc3c
1 изменённых файлов: 3 добавлений и 4 удалений

Просмотреть файл

@ -35,8 +35,8 @@ extractor-common:
.PHONY: tools
tools: $(BIN_FILES)
mkdir tools
mkdir bin
rm -rf tools/bin
mkdir tools/bin
cp -r target/release/ruby-autobuilder$(EXE) tools/bin/autobuilder$(EXE)
cp -r target/release/ruby-extractor$(EXE) tools/bin/extractor$(EXE)
@ -45,7 +45,7 @@ target/release/%$(EXE):
dbscheme:
cargo build --bin ruby-generator
cargo run -p ruby-generator
cargo run -p ruby-generator -- --dbscheme ql/src/ruby.dbscheme --library ql/src/codeql_ruby/ast/internal/TreeSitter.qll
codeql query format -i ql/src/codeql_ruby/ast/internal/TreeSitter.qll
.PHONY: extractor
@ -65,4 +65,3 @@ extractor: $(FILES) $(BIN_FILES)
cp ql/src/ruby.dbscheme extractor-pack/ruby.dbscheme
cp target/release/ruby-extractor$(EXE) extractor-pack/tools/$(CODEQL_PLATFORM)/extractor$(EXE)
cp target/release/ruby-autobuilder$(EXE) extractor-pack/tools/$(CODEQL_PLATFORM)/autobuilder$(EXE)