forked from froh42/multi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
grunt.js
46 lines (38 loc) · 1.11 KB
/
grunt.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/*global module:false*/
module.exports = function (grunt) {
// Project configuration.
grunt.initConfig({
meta:{
title:'Multi (Test1)',
name:"Frohwalt Egerer",
homepage:'http://et42.de',
banner:'/* \n' +
' * \tAuthor:\t\t{{meta.name}}\n' +
' * \tWebsite:\t{{meta.homepage}}\n' +
' * \n' +
' * \tTitle:\t\t{{meta.title}}\n' +
' * \tBuild:\t\t{{today "yyyyddmm"}}\n' +
' * \n' +
' */'
},
watch:{
files:["src/js/**/*.js", "grunt.js"],
tasks:'default'
},
lint: {
all: ['grunt.js', 'src/*.js', 'spec/*.js']
},
jshint: {
options: {
browser: true
}
}
});
// Default task.
grunt.registerTask('default', 'lint');
};
/*
More stuff to possibly include:
http://coveraje.github.com/ -- Javascript code coverage
http://stackoverflow.com/a/5168482/60229 -- Link to client side JS package managers
*/