Skip to content

Commit 8649369

Browse files
author
Alexandre-io
committed
fix(Gruntfile): fix src path and add test task
1 parent c56fc31 commit 8649369

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Gruntfile.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ module.exports = function(grunt) {
3232
jshint: {
3333
lib: {
3434
options: {},
35-
src: ['lib/*.js']
35+
src: ['src/*.js']
3636
},
3737
},
3838
watch: {
3939
scripts: {
40-
files: 'lib/*.js',
40+
files: 'src/*.js',
4141
tasks: ['jshint', 'uglify'],
4242
options: {
4343
interrupt: true
@@ -54,4 +54,7 @@ module.exports = function(grunt) {
5454

5555
// Default task(s).
5656
grunt.registerTask('default', ['jshint', 'uglify']);
57+
58+
// Test
59+
grunt.registerTask('test', ['jshint']);
5760
};

0 commit comments

Comments
 (0)