Skip to content

0.6

Compare
Choose a tag to compare
@grahampugh grahampugh released this 02 Mar 14:22
4a0e3cc
  • When converting an AutoPkg recipe to yaml format, specific formatting is carried out:
    • The different process dictionaries are ordered by Processor, Comment, Arguments.
    • The Input dictionary is ordered such that NAME is always at the top.
    • The items are ordered thus: Comment, Description, Identifier, ParentRecipe, MinimumVersion, Input, Process
    • Blank lines are added for human readability. Specifically these are added above Input and Process dictionaries, and between each Processor dictionary.
  • You can use yaml_tidy.py to reformat existing .recipe.yaml files as above.
  • An entire directory structure can have .recipe.yaml files reformatted as above using the command plistyamlplist /path/to/YAML --tidy. Any directory with a YAML or _YAML folder in it will be processed, including subdirectories.