mirror of
https://github.com/github/codeql.git
synced 2026-04-25 08:45:14 +02:00
Add make target to run tests locally
This commit is contained in:
4
Makefile
4
Makefile
@@ -65,3 +65,7 @@ extractor: $(FILES) $(BIN_FILES)
|
||||
cp ql/lib/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)
|
||||
|
||||
test: extractor dbscheme
|
||||
codeql pack install ql/test
|
||||
codeql test run --check-databases --check-unused-labels --check-repeated-labels --check-redefined-labels --check-use-before-definition --search-path . --consistency-queries ql/consistency-queries ql/test
|
||||
|
||||
Reference in New Issue
Block a user