title: GruntJs:how to bypass a task in grunt build process
body: <p>is there a way to bypass the task in the grunt build process using options??
  In below example i want to bypass the test and do only package and buildArtifacts tasks.</p>
  
  <p>Example:</p>
  
  <pre><code>     grunt.registerTask('test', [  
          'karma:continuous' ,     
        'e2e-test'
      ]);
  
       grunt.registerTask('build', function (target) { 
  
        grunt.task.run(['force:on','package','test','force:off','buildArtifacts']);
       });
  </code></pre>