Using dependencies in your build phases

This article was originally published at https://gist.github.com/joepie91/b0041188c043259e6e1059d026eff301.

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

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

Revision #1
Created 2024-12-11 12:55:58 UTC by joepie91
Updated 2024-12-11 15:56:33 UTC by joepie91