mirror of
https://github.com/siemens-mobile-hacks/node-serialport-bindings-cpp.git
synced 2026-11-26 02:47:17 +00:00
24 lines
471 B
JavaScript
24 lines
471 B
JavaScript
'use strict';
|
|
|
|
module.exports = function(grunt) {
|
|
|
|
grunt.initConfig({
|
|
mochaTest: {
|
|
test: {
|
|
options: { reporter: 'spec' },
|
|
src: ['test/**/*.js']
|
|
}
|
|
},
|
|
jshint: {
|
|
all: ['*.js', 'test/**/*.js', 'arduinoTest/**/*.js'],
|
|
options:{
|
|
jshintrc: true
|
|
}
|
|
}
|
|
});
|
|
|
|
grunt.loadNpmTasks('grunt-mocha-test');
|
|
grunt.loadNpmTasks('grunt-contrib-jshint');
|
|
grunt.registerTask('default', ['jshint', 'mochaTest']);
|
|
|
|
};
|