Document import override behavior (#1791)

This commit is contained in:
Casey Rodarmor 2023-12-28 17:37:44 -08:00 committed by GitHub
parent 8ea278c58b
commit b21819dcf2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2366,6 +2366,9 @@ and recipes defined after the `import` statement.
Imported files can themselves contain `import`s, which are processed Imported files can themselves contain `import`s, which are processed
recursively. recursively.
When `allow-duplicate-recipes` is set, recipes in parent modules override
recipes in imports.
### Modules<sup>1.19.0</sup> ### Modules<sup>1.19.0</sup>
A `justfile` can declare modules using `mod` statements. `mod` statements are A `justfile` can declare modules using `mod` statements. `mod` statements are