title: Run command line command in composer.json
body: <p>I'm trying to write a composer.json file that will run several command line commands in a row so just as an example something like this:</p>
  
  <pre><code>"scripts": {
     "test": [
          "@createDir"
     ],
     "createDir": "mkdir testing"
  
  }
  </code></pre>
  
  <p>When I run the composer file in terminal using <code>composer.phar update</code> the directory isn't created though. Can anybody point me in the right direction how to do this or what I'm doing wrong?</p>