@@ -34,15 +34,15 @@ var generate = {
34
34
35
35
appfiles : function ( ) {
36
36
helpers . copy . call ( this , '_package.json' , 'package.json' , this . prompts ) ;
37
+ console . log ( this . prompts ) ;
37
38
// helpers.copy.call(this, '_bower.json', 'bower.json', this.prompts);
38
39
} ,
39
40
40
41
gulpModules : function ( ) {
41
42
helpers . copy . call ( this , 'gulpfile.js' , 'gulpfile.js' , this . prompts ) ;
42
43
helpers . copy . call ( this , 'gulp/config.js' , 'gulp/config.js' , this . prompts ) ;
43
- helpers . copy . call ( this , 'gulp/helpers/_svgfont.sass' , 'gulp/helpers/_svgfont.sass' ) ;
44
- helpers . copy . call ( this , 'gulp/helpers/icons.html' , 'gulp/helpers/icons.html' ) ;
45
- helpers . copy . call ( this , 'gulp/helpers/sprite.template.mustache' , 'gulp/helpers/sprite.template.mustache' ) ;
44
+
45
+
46
46
47
47
48
48
var taskslist = [ 'sass' , 'iconfont' , 'copy' , 'html' , 'jade' , 'spritesmith' , 'watch' , 'js' , 'server' ] ;
@@ -55,6 +55,15 @@ var generate = {
55
55
}
56
56
} ,
57
57
58
+ spritesmith : function ( ) {
59
+ helpers . copy . call ( this , 'gulp/helpers/sprite.template.mustache' , 'gulp/helpers/sprite.template.mustache' ) ;
60
+ } ,
61
+
62
+ iconfont : function ( ) {
63
+ helpers . copy . call ( this , 'gulp/helpers/_svgfont.sass' , 'gulp/helpers/_svgfont.sass' ) ;
64
+ helpers . copy . call ( this , 'gulp/helpers/icons.html' , 'gulp/helpers/icons.html' ) ;
65
+ } ,
66
+
58
67
projectInfo : function ( ) {
59
68
// helpers.copy.call(this, '_index.html', 'index.html', this.prompts);
60
69
helpers . copy . call ( this , 'README.md' , 'README.md' , this . prompts ) ;
@@ -63,8 +72,8 @@ var generate = {
63
72
assets : function ( ) {
64
73
helpers . copy . call ( this , 'src/.keep' , 'src/fonts/.keep' ) ;
65
74
helpers . copy . call ( this , 'src/.keep' , 'src/img/.keep' ) ;
66
- helpers . copy . call ( this , 'src/.keep ' , 'src/img/icons/.keep ' ) ;
67
- helpers . copy . call ( this , 'src/.keep ' , 'src/img/svg/.keep ' ) ;
75
+ helpers . copy . call ( this , 'src/img/icons/coderiver.png ' , 'src/img/icons/coderiver.png ' ) ;
76
+ helpers . copy . call ( this , 'src/img/svg/sepa.svg ' , 'src/img/svg/sepa.svg ' ) ;
68
77
} ,
69
78
70
79
// templateFiles: function () {
0 commit comments