Sugar Network/Recipe Specification: Difference between revisions
No edit summary |
|||
| (2 intermediate revisions by the same user not shown) | |||
| Line 307: | Line 307: | ||
''DEPENDENCY'' [(<|<=|=|>=|>) ''VERSION''] | ''DEPENDENCY'' [(<|<=|=|>=|>) ''VERSION''] | ||
The ''DEPENDENCY'' value is a GUID associated with dependency project, i.e., ''context'' value from dependency spec file. In general, it might be any software Sugar Network [http://node.sugarlabs.org/context Context] | The ''DEPENDENCY'' value is a GUID associated with dependency project, i.e., ''context'' value from dependency spec file. In general, it might be any software Sugar Network [http://node.sugarlabs.org/context Context], but current implementation assumes only GNU/Linux [http://node.sugarlabs.org/context?type=package packages]. | ||
== Glob patterns == | |||
The ''include'' and ''exclude'' options contain file patterns. A pattern could be of two types: | |||
* doesn't contain ''/'' or ''**'' substrings, will be applied only to file names | |||
* contains ''/'' or ''**'' substring, will be applied to the full file path (relative to the root), thus could affect several directory levels | |||
Only these pattern symbols are allowed: | |||
* ''*'' matches everything, except directory separator | |||
* ''?'' matches any single character, except directory separator | |||
* ''**'' matches everything, including directory separator | |||