Skip to content

Instantly share code, notes, and snippets.

Created February 10, 2013 22:43
Show Gist options
  • Save anonymous/4751371 to your computer and use it in GitHub Desktop.
Save anonymous/4751371 to your computer and use it in GitHub Desktop.
module.exports = function(grunt) {
'use strict';
// Project configuration.
grunt.initConfig({
meta : {
src : 'src/**/*.js',
specs : 'spec/**/*.js'
},
jasmine : {
src : '<%= meta.src %>',
options : {
specs : '<%= meta.specs %>',
vendor: [
'http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js'
]
}
},
jshint: {
all: [
'Gruntfile.js',
'<%= meta.src %>',
'<%= meta.specs %>'
],
options: {
jshintrc: '.jshintrc'
}
}
});
grunt.loadNpmTasks('grunt-contrib-jasmine');
// Default task.
grunt.registerTask('default', ['jasmine']);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment