depot/doc/hooks/just.section.md
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

1.1 KiB

just

This setup hook attempts to use the just command runner to build, check, and install the package. The hook overrides buildPhase, checkPhase, and installPhase by default.

[]{#just-hook-justFlags} The justFlags variable can be set to a list of strings to add additional flags passed to all invocations of just.

buildPhase

This phase attempts to invoke just with the default recipe.

[]{#just-hook-dontUseJustBuild} This behavior can be disabled by setting dontUseJustBuild to true.

checkPhase

This phase attempts to invoke the just test recipe, if it is available. This can be overrided by setting checkTarget to a string.

[]{#just-hook-dontUseJustCheck} This behavior can be disabled by setting dontUseJustCheck to true.

installPhase

This phase attempts to invoke the just install recipe.

[]{#just-hook-dontUseJustInstall} This behavior can be disabled by setting dontUseJustInstall to true.