Add gitignore

This commit is contained in:
Vladimir Rodkin
2015-10-13 20:40:06 +03:00
parent 31e478f28d
commit 83d47bddd8
+3
View File
@@ -111,6 +111,9 @@ module.exports = generator.Base.extend({
if(fs.lstatSync(fullPath).isDirectory()) {
this.bulkDirectory(item, item);
} else {
if (item === '.npmignore') {
this.copy(item, '.gitignore');
}
this.copy(item, item);
}
}