<?xml version="1.0" encoding="UTF-8"?>
<wiki>
  <body>&lt;p&gt;Note: &lt;strong&gt;If your extension dependencies have their own dependencies it&amp;#8217;s best if each extension only includes it&amp;#8217;s immediate dependents and let the dependencies cascade until they have all been satisfied; i.e. if your extension requires X which requires Y which requires Z only declare your dependence on X and have Y declare it&amp;#8217;s dependence on Z and so on.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;While extension bundling is for site maintainers, extension dependencies are for extension authors. As you can probably guess it lets you tell Ray about your extension&amp;#8217;s dependencies. All you need is a &lt;code&gt;dependency.yml&lt;/code&gt; file in the root directory of your extension. Here&amp;#8217;s an example dependency file:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;- extension: my_extension_helpers&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;You can list as many dependencies as you need and they can include gems as well as other extensions. In the case of extensions you may also use the &lt;code&gt;hub&lt;/code&gt; option if you depend on a forked version of a repository.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;- extension: this_extension_helps_a_ton
  hub: extension_forker
- extension: some_other_voodoo
- gem: this_one
- gem: that_too&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The absence of support for plugin dependencies is intentional. You are much better off adding plugins to your extension as &lt;code&gt;git&lt;/code&gt; submodules and letting Ray deal with them during the normal installation of your extension. As an added bonus your plugin dependencies will also be recognized and respected by Radiant&amp;#8217;s built-in &lt;code&gt;script/extension install&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Note: &lt;strong&gt;&lt;code&gt;dependencies.yml&lt;/code&gt; is an acceptable file name and &lt;code&gt;.yaml&lt;/code&gt; is an acceptable extension.&lt;/strong&gt;&lt;/p&gt;</body>
  <created-at type="datetime">2009-11-08T08:37:30-08:00</created-at>
  <id type="integer">118970</id>
  <permalink>extension-dependencies</permalink>
  <repository-id type="integer">34113</repository-id>
  <title>Extension dependencies</title>
  <updated-at type="datetime">2009-04-12T13:48:49-07:00</updated-at>
  <user-id type="integer">7944</user-id>
</wiki>
