Platform Team/Guide/Sweets Packaging: Difference between revisions
No edit summary |
|||
| Line 34: | Line 34: | ||
== Development with Sweets == | == Development with Sweets == | ||
Source bundles might be used on a client side not only indirectly, via {{Code|sweets}} command for example, but also explicitly. Sources might be bundled, emailed, etc. In this case, it is no different from {{Code|.xo}} files. To make sources useful within Sweets, the local directory with sources might be used in several | Source bundles might be used on a client side not only indirectly, via {{Code|sweets}} command for example, but also explicitly. Sources might be bundled, emailed, etc. In this case, it is no different from {{Code|.xo}} files. To make sources useful within Sweets, the local directory with sources might be used in several ways: | ||
* Applications might be launched from sources, {{Code|sweets ''<path-to-sources>''}; | * Applications might be launched from sources, {{Code|sweets ''<path-to-sources>''}}; | ||
* To reuse sources as dependencies for other sweets, source directory needs to be registered in Sweets, {{Code|sweets checkout ''<path-to-sources>''}}; applications might be checked out as well. | * To reuse sources as dependencies for other sweets, source directory needs to be registered in Sweets, {{Code|sweets checkout ''<path-to-sources>''}}; applications might be checked out as well. | ||