title: Run Grunt tasks recursively over array
body: <p>I have to build a number of css files for different locations and browsers all delineated by a flag in the file name.  For instance:</p>
  
  <ul>
  <li>styles-en.css</li>
  <li>styles-jp.css</li>
  <li>styles-ie.css</li>
  </ul>
  
  <p>The content differences are handled by LESS boolean variables @isIE, @isEN, @isJA, @isDE etc. that match the file naming pattern.</p>
  
  <p>I would love to automate building these different versions by passing Grunt an array of flags then for each:</p>
  
  <ul>
  <li>set the variable for LESS</li>
  <li>run LESS compiler for all files in a folder (same for all languages)</li>
  <li>use the variable in the exported file name</li>
  </ul>
  
  <p><a href="https://stackoverflow.com/questions/25198682/compile-less-with-different-variables-using-grunt">This answer spells out the iterations</a> but is there a tidier method? </p>