Sugar Network/Recipe Specification: Difference between revisions

Tune according to the Sweets Glossary
Line 1: Line 1:
See [[Platform_Team/Sweets|Sweets]]' home page for introduction info.
The recipe specification file is an analog of scenario files in regular GNU/Linux distributions, like .spec files in RPM. It is the cornerstone of [[Platform_Team/Sugar_Doers_Kit|SDK]], everything on sweet project level depends on the recipe file. For activities, {{Code|activity/activity.info}}, an inherited recipe file name, is supported.
The recipe specification file is an analog of scenario files in regular GNU/Linux distributions, like .spec files in RPM. It is the cornerstone of [[Platform_Team/Sugar_Doers_Kit|SDK]], everything on sweet project level depends on the recipe file. For activities, {{Code|activity/activity.info}}, an inherited recipe file name, is supported.


Line 26: Line 28:
  '''implement''' = <sweet> [; ...]
  '''implement''' = <sweet> [; ...]


Required. The list of sweets current project is implementing.
Required. The list of interfaces that current project is implementing.


  '''associate''' = <sweet> [; ...]
  '''associate''' = <sweet> [; ...]


Optional. The list of sweets whose implementations might be considered as additional implementations for current one.
Optional. The list of interfaces whose implementations might be considered as additional implementations for current one.


  '''name''' = <name>
  '''name''' = <name>