gruntjs/grunt-contrib-jasmine — pull request #90 by debugwand (2013-10-31 17:27:28+00:00)
Title: Option to allow task to continue when no specs are found

Currently if you have not yet added your spec file, or if your spec file doesn't have at least one unit test, jasmine will fail with the error message "No specs executed, is there a configuration error?".

This is deliberate:
````js
if (thisRun.executed_specs === 0) {
grunt.warn('No specs executed, is there a configuration error?');
}
````

However, if this is part of a series of tasks like a build process, the series of tasks will exit as soon as it hits this, unless you have used the global --force option on the command line.

This change allows you to optionally specify within the task configuration an 'ignoreEmpty' option so that log.error is called rather than warn. Log.error will output the message but not fail the task. If ignoreEmpty is not specified, it defaults to whether the force option has been specified on the command line.