|
|
| Line 1: |
Line 1: |
| See [[Platform_Team/Sweets|Sweets]]' home page for introduction info.
| | Read the [[Platform_Team/Guide/Sweets_Packaging|Packaging Guide]] to know to write and use recipe files. |
| | |
| 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.
| |
| | |
| == Recipe structure ==
| |
| | |
| Recipe file is an [http://docs.python.org/library/configparser.html ini] format configuration file that might consist of several sections:
| |
| | |
| * One or more [[#Use case sections|use case sections]].
| |
| * Optional [[#Archive sections|archive sections]].
| |
| * Optional [[#Auxiliary sections|auxiliary sections]].
| |
| * Optional {{Code|[DEFAULT]}} section with common options that are accessible from all other sections.
| |
|
| |
|
| == Use case sections == | | == Use case sections == |