Skip to content

Commit ac07801

Browse files
committed
Remove grunt growl from build process
1 parent 2deed00 commit ac07801

File tree

2 files changed

+9
-19
lines changed

2 files changed

+9
-19
lines changed

grunt.js

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
module.exports = function(grunt) {
1+
module.exports = function(grunt) {
22
grunt.initConfig({
33
pkg: '<json:package.json>',
44

55
meta: {
66
banner:
7-
'/*\n' +
7+
'/*\n' +
88
' * <%= pkg.title || pkg.name %>: <%= pkg.description %>\n' +
9-
' * Version <%= pkg.version %>\n' +
9+
' * Version <%= pkg.version %>\n' +
1010
' *\n' +
1111
' * Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.author.name %> (<%= pkg.author.url %>)\n' +
1212
' *\n' +
1313
' * Licensed under the <%= pkg.licenses[0].type %> license (<%= pkg.licenses[0].url %>)\n' +
14-
' *\n' +
14+
' *\n' +
1515
' */\n'
1616
},
1717

@@ -29,15 +29,7 @@ module.exports = function(grunt) {
2929

3030
watch: {
3131
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']
4133
}
4234
},
4335

@@ -47,7 +39,7 @@ module.exports = function(grunt) {
4739
dest: 'js/<%= pkg.name %>.min.js'
4840
}
4941
},
50-
42+
5143
compress: {
5244
zip: {
5345
files: {
@@ -59,10 +51,9 @@ module.exports = function(grunt) {
5951

6052
// Lib tasks.
6153
grunt.loadNpmTasks('grunt-contrib');
62-
grunt.loadNpmTasks('grunt-growl');
6354

6455
// Default task.
6556
grunt.registerTask('build', 'coffee min');
6657
grunt.registerTask('serve', 'server watch:coffee');
6758
grunt.registerTask('default', 'build');
68-
};
59+
};

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,9 @@
2323
}],
2424
"devDependencies" : {
2525
"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"
2827
},
2928
"scripts": {
3029
"test": "grunt"
3130
}
32-
}
31+
}

0 commit comments

Comments
 (0)