-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbbb.js
More file actions
30 lines (22 loc) · 742 Bytes
/
bbb.js
File metadata and controls
30 lines (22 loc) · 742 Bytes
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
exports.description = "Backbone Boilerplate framework";
exports.notes = "This tool will help you install, configure, build, and "
+ "maintain your Backbone Boilerplate project.";
// Any existing file or directory matching this wildcard will cause a warning.
exports.warnOn = "*";
exports.template = function(grunt, init, done) {
var _ = grunt.utils._;
// Files to copy (and process).
var files = init.filesToCopy({});
// Remove any git files
_.each(files, function(flag, file) {
if (file.indexOf(".git") === 0) {
delete files[file];
}
});
// Actually copy (and process). files.
init.copyAndProcess(files, {}, {
noProcess: [ "assets/**", "test/**", "favicon.ico" ]
});
// All done!
done();
};