Revision 47eca5c5 snf-cyclades-app/synnefo/ui/new_ui/ui/Gruntfile.js
b/snf-cyclades-app/synnefo/ui/new_ui/ui/Gruntfile.js | ||
---|---|---|
30 | 30 |
emberTemplates: { |
31 | 31 |
files: 'javascripts/templates/**/*.hbs', |
32 | 32 |
tasks: ['emberTemplates'] |
33 |
}, |
|
34 |
jshint: { |
|
35 |
files: ['javascripts/ember/**/*.js'], |
|
36 |
tasks: ['jshint'], |
|
33 | 37 |
} |
34 | 38 |
}, |
35 | 39 |
compass: { |
... | ... | |
54 | 58 |
dest: 'dist/ember.js', |
55 | 59 |
} |
56 | 60 |
}, |
61 |
jshint: { |
|
62 |
beforeconcat: ['javascripts/ember/**/*.js'], |
|
63 |
}, |
|
57 | 64 |
}); |
58 | 65 |
|
59 | 66 |
grunt.loadNpmTasks('grunt-contrib-compass'); |
60 | 67 |
grunt.loadNpmTasks('grunt-contrib-watch'); |
61 | 68 |
grunt.loadNpmTasks('grunt-contrib-concat'); |
62 | 69 |
grunt.loadNpmTasks('grunt-ember-templates'); |
70 |
grunt.loadNpmTasks('grunt-contrib-jshint'); |
|
63 | 71 |
|
64 | 72 |
// Default task(s). |
65 |
grunt.registerTask('default', ['concat', 'emberTemplates','watch']); |
|
73 |
grunt.registerTask('default', ['jshint','concat', 'emberTemplates','watch']);
|
|
66 | 74 |
|
67 | 75 |
}; |
Also available in: Unified diff