node-serialport-bindings-cpp/Gruntfile.js

19 lines
No EOL
407 B
JavaScript

module.exports = function(grunt) {
grunt.initConfig({
mochaTest: {
test: {
options: { reporter: 'spec' },
src: ['test/**/*.js']
}
},
jshint: {
all: ['*.js', 'test/**/*.js', 'arduinoTest/**/*.js']
}
});
grunt.loadNpmTasks('grunt-mocha-test');
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.registerTask('default', ['jshint', 'mochaTest']);
};