 in some kind of script - like Rakefile below.
Just create file named Rakefile - generation is triggered by <code>rake mock</code></p>
<pre class="highlight ruby"><code><span class="c1"># Rakefile</span>
<span class="n">task</span> <span class="ss">:mock</span> <span class="k">do</span>
  <span class="n">sh</span> <span class="s2">"Pods/Sourcery/bin/sourcery --config mocky.yml"</span>
<span class="k">end</span>

<span class="n">task</span> <span class="ss">:mock_watcher</span> <span class="k">do</span>
  <s