Home page Forum Wiki Mail Jabber Devel NIX-FILES

AltLUG Git

Git-repositories of Altai Linux User Group

fbe9c701fa141682024d5f9722e42b6dabce057a
[qunit.git] / grunt.js
1 /*global config:true, task:true*/
2 module.exports = function( grunt ) {
3
4 grunt.initConfig({
5         pkg: '<json:package.json>',
6         qunit: {
7                 // TODO include 'test/logs.html' as well
8                 qunit: 'test/index.html',
9                 addons: [
10                         'addons/canvas/canvas.html',
11                         'addons/close-enough/close-enough.html',
12                         'addons/composite/composite-demo-test.html'
13                 ]
14         },
15         lint: {
16                 qunit: 'qunit/qunit.js',
17                 addons: 'addons/**/*.js',
18                 grunt: 'grunt.js'
19                 // TODO need to figure out which warnings to fix and which to disable
20                 // tests: 'test/test.js'
21         },
22         jshint: {
23                 qunit: {
24                         options: {
25                                 onevar: true,
26                                 browser: true,
27                                 bitwise: true,
28                                 curly: true,
29                                 trailing: true,
30                                 immed: true,
31                                 latedef: false,
32                                 newcap: true,
33                                 noarg: false,
34                                 noempty: true,
35                                 nonew: true,
36                                 sub: true,
37                                 undef: true,
38                                 eqnull: true,
39                                 proto: true
40                         },
41                         globals: {
42                                 jQuery: true,
43                                 exports: true
44                         }
45                 },
46                 addons: {
47                         // meh
48                         options: {
49                                 onevar: true,
50                                 smarttabs: true
51                         }
52                 },
53                 tests: {
54                 }
55         }
56 });
57
58 // Default task.
59 grunt.registerTask('default', 'lint qunit');
60
61 };

Hosting is provided AltSPAHow to use Git
Please direct any questions on jabber alex.wolf@jabber.ru

Valid HTML 4.0 Transitional Valid CSS!

Designer Alexander Wolf