mirror of
https://github.com/node-red/node-red
synced 2024-11-21 23:48:30 +00:00
Add test-* grunt tasks
This commit is contained in:
parent
a808cb44c2
commit
2585e983a5
@ -86,6 +86,10 @@ module.exports = function(grunt) {
|
||||
grunt.loadNpmTasks('grunt-simple-mocha');
|
||||
grunt.loadNpmTasks('grunt-contrib-jshint');
|
||||
|
||||
grunt.registerTask('default', ['jshint:core','jshint:tests','jshint:editor','simplemocha:core','simplemocha:nodes']);
|
||||
grunt.registerTask('default', ['test-core','test-editor','test-nodes']);
|
||||
|
||||
grunt.registerTask('test-core', ['jshint:core','simplemocha:core']);
|
||||
grunt.registerTask('test-editor', ['jshint:editor']);
|
||||
grunt.registerTask('test-nodes', ['simplemocha:nodes']);
|
||||
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user