Repository navigation
doc: Add documentation for the package dir field - #16818
Conversation
|
I guess the main question from the user would be: "Why would I want to do something like this?" |
|
To answer our hypothetical user:
|
Could you explain what we mean by package fields being clearly inferred? I tried dropping the field from some stanzas like |
Sorry I was imprecise. It's rather than stanzas that have optional |
2472d45 to
c04ffb3
Compare
c04ffb3 to
fd5be9b
Compare
|
@Alizter could you take another look at this? |
| Stanzas in the directory whose ``(package)`` field is optional, such as | ||
| ``(rule)``, ``(test)`` and ``(cram)``, belong to the package even when | ||
| the field is omitted. Stanzas that need a package, such as ``(install)``, | ||
| still require an explicit ``(package)`` field when the project defines | ||
| more than one package. | ||
|
|
There was a problem hiding this comment.
Maybe we should drop this paragraph and add above that -p filters unrelated stanzas.
Alizter
left a comment
There was a problem hiding this comment.
LGTM, suggestion on remaining wording.
The dir field was added to the package stanza in ocaml#12614. This commit adds documentation for the field. Co-authored-by: Ali Caglayan <[email protected]> Signed-off-by: Puneeth Chaganti <[email protected]>
fd5be9b to
35f25b7
Compare
The dir field was added to the package stanza in #12614. This commit adds documentation for the field.
Checklist
[ ] Tests added, if applicable.[ ] Change log entry added for any user-facing changes.