Changes

Jump to navigation Jump to search
no edit summary
Line 66: Line 66:  
=== Dependencies ===
 
=== Dependencies ===
   −
Dependencies might be used in ''requires'' and ''suggests'' options in recipes files to declare that the current sweet is depending on another ones.
+
Dependencies might be used in the ''requires'' and ''suggests'' options in recipes files to declare that the current sweet depends on another sweet/s.
   −
The format of dependency string is:
+
The format of a dependency string is:
    
  <interface> [(=|>=|<) <version>]
 
  <interface> [(=|>=|<) <version>]
Line 74: Line 74:  
The ''interface'' value supports all interface [[#Interfaces|forms]]. The limited set of version conditions depends on Zero Install [http://0install.net/interface-spec.html specification] when the {{Code|<nowiki>=</nowiki>}} condition is a high level one and will be described in {{Code|<nowiki>>=</nowiki>}} and {{Code|<}} terms.
 
The ''interface'' value supports all interface [[#Interfaces|forms]]. The limited set of version conditions depends on Zero Install [http://0install.net/interface-spec.html specification] when the {{Code|<nowiki>=</nowiki>}} condition is a high level one and will be described in {{Code|<nowiki>>=</nowiki>}} and {{Code|<}} terms.
   −
Dependencies might be optional. In that case, they need to be wrapped into square brackets. Optional dependencies will be used only if there are implementation to choose, otherwise they will be discarded without errors.
+
Dependencies may be optional. In that case, they need to be wrapped in square brackets. Optional dependencies will be used ''only'' if there is an [[Platform_Team/Sweets/Glossary#implementation|implementation]] to choose, otherwise they will be discarded without errors.
    
=== Stability status ===
 
=== Stability status ===

Navigation menu