@@ -232,11 +232,8 @@ Generator.prototype.readIndex = function readIndex() {
232
232
this . indexFile = this . engine ( this . read ( '../../templates/common/index.html' ) , this ) ;
233
233
} ;
234
234
235
- // Waiting a more flexible solution for #138
236
235
Generator . prototype . bootstrapFiles = function bootstrapFiles ( ) {
237
236
var sass = this . compass ;
238
- var source = 'styles/' + ( sass ? 's' : '' ) + 'css/' ;
239
- var dest = 'app/styles/' ;
240
237
var mainFile = 'main.' + ( sass ? 's' : '' ) + 'css' ;
241
238
242
239
if ( this . bootstrap && ! sass ) {
@@ -246,7 +243,7 @@ Generator.prototype.bootstrapFiles = function bootstrapFiles() {
246
243
this . copy ( 'fonts/glyphicons-halflings-regular.woff' , 'app/fonts/glyphicons-halflings-regular.woff' ) ;
247
244
}
248
245
249
- this . copy ( source + mainFile , dest + mainFile ) ;
246
+ this . copy ( 'styles/' + mainFile , 'app/styles/' + mainFile ) ;
250
247
} ;
251
248
252
249
Generator . prototype . appJs = function appJs ( ) {
@@ -274,7 +271,7 @@ Generator.prototype.packageFiles = function () {
274
271
Generator . prototype . imageFiles = function ( ) {
275
272
this . sourceRoot ( path . join ( __dirname , 'templates' ) ) ;
276
273
this . directory ( 'images' , 'app/images' , true ) ;
277
- }
274
+ } ;
278
275
279
276
Generator . prototype . _injectDependencies = function _injectDependencies ( ) {
280
277
var howToInstall =
@@ -294,4 +291,4 @@ Generator.prototype._injectDependencies = function _injectDependencies() {
294
291
cssPattern : '<link rel="stylesheet" href="{{filePath}}">'
295
292
} ) ;
296
293
}
297
- }
294
+ } ;
0 commit comments