# Using dependencies in your build phases

<p class="callout info">This article was originally published at [https://gist.github.com/joepie91/b0041188c043259e6e1059d026eff301](https://gist.github.com/joepie91/b0041188c043259e6e1059d026eff301).</p>

You can just use string interpolation to add a dependency path to your script. For example:

```
{
  # ...
  preBuildPhase = ''
    ${grunt-cli}/bin/grunt prepare
  '';
  # ...
}
```