Last change
on this file since 533 was
484,
checked in by hendrikvanantwerpen, 11 years ago
|
Commit node_modules, to make checkouts and builds more deterministic.
|
File size:
543 bytes
|
Rev | Line | |
---|
[484] | 1 | module.exports = function(grunt) { |
---|
| 2 | |
---|
| 3 | 'use strict'; |
---|
| 4 | |
---|
| 5 | // Project configuration. |
---|
| 6 | grunt.initConfig({ |
---|
| 7 | watch: { |
---|
| 8 | files: '<%= jshint.all %>', |
---|
| 9 | tasks: 'default' |
---|
| 10 | }, |
---|
| 11 | jshint: { |
---|
| 12 | all: [ |
---|
| 13 | 'Gruntfile.js', |
---|
| 14 | 'tasks/**/*.js' |
---|
| 15 | ], |
---|
| 16 | options: { |
---|
| 17 | jshintrc: '.jshintrc' |
---|
| 18 | } |
---|
| 19 | } |
---|
| 20 | }); |
---|
| 21 | |
---|
| 22 | // Load local tasks. |
---|
| 23 | grunt.loadTasks('tasks'); |
---|
| 24 | |
---|
| 25 | grunt.loadNpmTasks('grunt-contrib-watch'); |
---|
| 26 | grunt.loadNpmTasks('grunt-contrib-jshint'); |
---|
| 27 | |
---|
| 28 | // Default task. |
---|
| 29 | grunt.registerTask('default', ['jshint']); |
---|
| 30 | |
---|
| 31 | }; |
---|
Note: See
TracBrowser
for help on using the repository browser.