grunt-contrib-jasmine/tasks/jasmine.js

29 lines
504 B
JavaScript
Raw Normal View History

2012-11-02 13:03:09 +08:00
/*
* grunt-contrib-jasmine
* http://gruntjs.com/
*
* Licensed under the MIT license.
*/
'use strict';
module.exports = function(grunt) {
var path = require('path');
grunt.registerTask('jasmine', 'Run jasmine specs headlessly through PhantomJS.', function() {
// Merge task-specific options with these defaults.
var options = grunt.util._.defaults(grunt.config('jasmine'), {
});
if (grunt.option('debug')) {
}
// Start server.
grunt.log.writeln('');
});
};