title: How should I create a complete build with Gulp?
body: <p>Just learning Gulp. Looks great, but I can't find any information on how to make a <em>complete</em> distribution with it.</p>
  
  <hr>
  
  <p>Let's say I want to use Gulp to concatenate and minify my CSS and JS, and optimise my images.</p>
  
  <p>In doing so I change the location of JS scripts in my build directory (eg. from <em>bower_components/jquery/dist/jquery.js</em> to <em>js/jquery.js</em>).</p>
  
  <ol>
  <li><p><strong>How do I automatically update my build HTML/PHP documents to reference the correct files?</strong> What is the standard way of doing this?</p></li>
  <li><p><strong>How do I copy over the rest of my project files?</strong>. These are files that need to be included as part of the distribution, such as HTML, PHP, various txt, JSON and all sorts of other files. Surely I don't have to copy and paste those from my development directory each time I do a clean build with Gulp?</p></li>
  </ol>
  
  <hr>
  
  <p>Sorry for asking what are probably very n00bish questions. It's possible I should be using something else other than Gulp to manage these, but I'm not sure where to start.</p>
  
  <p>Many thanks in advance.</p>