File tree Expand file tree Collapse file tree 2 files changed +9
-19
lines changed Expand file tree Collapse file tree 2 files changed +9
-19
lines changed Original file line number Diff line number Diff line change 1
- module . exports = function ( grunt ) {
1
+ module . exports = function ( grunt ) {
2
2
grunt . initConfig ( {
3
3
pkg : '<json:package.json>' ,
4
4
5
5
meta : {
6
6
banner :
7
- '/*\n' +
7
+ '/*\n' +
8
8
' * <%= pkg.title || pkg.name %>: <%= pkg.description %>\n' +
9
- ' * Version <%= pkg.version %>\n' +
9
+ ' * Version <%= pkg.version %>\n' +
10
10
' *\n' +
11
11
' * Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.author.name %> (<%= pkg.author.url %>)\n' +
12
12
' *\n' +
13
13
' * Licensed under the <%= pkg.licenses[0].type %> license (<%= pkg.licenses[0].url %>)\n' +
14
- ' *\n' +
14
+ ' *\n' +
15
15
' */\n'
16
16
} ,
17
17
@@ -29,15 +29,7 @@ module.exports = function(grunt) {
29
29
30
30
watch : {
31
31
coffee : {
32
- files : [ 'js/*.coffee' ] ,
33
- tasks : 'coffee growl:coffee'
34
- }
35
- } ,
36
-
37
- growl : {
38
- coffee : {
39
- title : 'CoffeeScript' ,
40
- message : 'Compiled successfully'
32
+ files : [ 'js/*.coffee' ]
41
33
}
42
34
} ,
43
35
@@ -47,7 +39,7 @@ module.exports = function(grunt) {
47
39
dest : 'js/<%= pkg.name %>.min.js'
48
40
}
49
41
} ,
50
-
42
+
51
43
compress : {
52
44
zip : {
53
45
files : {
@@ -59,10 +51,9 @@ module.exports = function(grunt) {
59
51
60
52
// Lib tasks.
61
53
grunt . loadNpmTasks ( 'grunt-contrib' ) ;
62
- grunt . loadNpmTasks ( 'grunt-growl' ) ;
63
54
64
55
// Default task.
65
56
grunt . registerTask ( 'build' , 'coffee min' ) ;
66
57
grunt . registerTask ( 'serve' , 'server watch:coffee' ) ;
67
58
grunt . registerTask ( 'default' , 'build' ) ;
68
- } ;
59
+ } ;
Original file line number Diff line number Diff line change 23
23
}],
24
24
"devDependencies" : {
25
25
"grunt" : " 0.3.x" ,
26
- "grunt-contrib" : " 0.2.x" ,
27
- "grunt-growl" : " git://github.com/loopj/grunt-growl.git#master"
26
+ "grunt-contrib" : " 0.2.x"
28
27
},
29
28
"scripts" : {
30
29
"test" : " grunt"
31
30
}
32
- }
31
+ }
You can’t perform that action at this time.
0 commit comments