Changeset 466 for Dev/trunk/Gruntfile.js


Ignore:
Timestamp:
06/26/13 14:43:57 (12 years ago)
Author:
hendrikvanantwerpen
Message:

Added authentication (fixed user now).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/trunk/Gruntfile.js

    r464 r466  
    2929                    dest: developmentDir,
    3030                    ext: '.js'
     31                }]
     32            }
     33        },
     34        coffeelint: {
     35            compile: {
     36                options: require('./'+srcDir+'.coffeelint.json'),
     37                files: [{
     38                    expand: true,
     39                    cwd: srcDir,
     40                    src: ['client/qed-client/**/*.coffee', 'server/**.coffee']
    3141                }]
    3242            }
     
    116126    });
    117127
     128    grunt.loadNpmTasks('grunt-coffeelint');
    118129    grunt.loadNpmTasks('grunt-contrib-clean');
    119130    grunt.loadNpmTasks('grunt-contrib-coffee');
     
    126137    // development tasks
    127138    grunt.registerTask('install-deps', ['copy:server-deps', 'copy:client-deps']);
    128     grunt.registerTask('compile', ['less:compile', 'jshint:compile', 'htmlhint:compile', 'coffee:compile', 'copy:compile']);
     139    grunt.registerTask('lint', ['jshint:compile', 'htmlhint:compile', 'coffeelint:compile']);
     140    grunt.registerTask('compile', ['lint', 'less:compile', 'coffee:compile', 'copy:compile']);
    129141    grunt.registerTask('build', ['clean:development', 'install-deps', 'compile']);
    130142
     
    135147    grunt.registerTask('default', ['compile']);
    136148
     149    // util functions
     150
    137151};
Note: See TracChangeset for help on using the changeset viewer.