Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a rough PoC showcasing just as a builder/test runner.
After installing
just
you can (in this PoC<language>
can only berust
):just install <language>
to install a language pack in-tree<language>
can be omitted if running from inside its directory.just build <language>
will buildtarget/intree/codeql-<language>
from the internal repository, if available, otherwise it will fall back toinstall
.just test TESTS... FLAGS...
will run the provided tests, if they are of the same kind (integration or QL tests), passing FLAGS to the runner (flags with arguments are required to be passed as--flag=value
or-fvalue
, as one string). For QL tests the appropriatebuild <language>
is run. Notably, for QL tests this command works also if usingcodeql
standalone from the internal repository (usinginstall
andcodeql
fromPATH
). If running from within a test directory,TESTS
can be omitted and defaults to all tests in the current directory. Even thetest
recipe can be omitted, as it's the default.rust
is a just module, so you can also runjust rust ...
with some other goodiesb
,i
,t
aliasesExamples: