title: grunt no target found issue
body: <p>I have written a following file grunt.js</p>
  
  <pre><code>var _path = require('path');
  
  module.exports = function (grunt) {
      var config = {
      };
  
  
      function addProject(project) {
          grunt.helper('addProject', config, project);
      }
  
      addProject({
          name:'mytest',
          type:'module',
          sourcePath:'../source',
          outputPath:'../test/',
          version : grunt.option('ver')||'0.1.0.0'
      });
  
      grunt.registerTask('default', 'module closureCompiler');
      grunt.initConfig(config);
  };
  </code></pre>
  
  <p>when i run it using a command in my bat file  module closureCompiler sync, it gives an error saying </p>
  
  <pre><code>Running "sync" task
  &gt;&gt; No "sync" targets found.
  &lt;WARN&gt; Task "sync" failed. Use --force
  </code></pre>
  
  <p>What does this mean?</p>