Script tags not being added to `app/index.html` when creating model/collection/views #364

Closed
rjsteinert opened this Issue Sep 16, 2015 · 1 comment

Projects

None yet

3 participants

@rjsteinert

I pulled the most recent version of generator-backbone, ran npm link, created a new project, and then ran the following.

 /.../Desktop/barn ♘ ls app/
404.html        bower_components    favicon.ico     index.html      robots.txt      scripts         styles

 /.../Desktop/barn ♘ yo backbone:model Bar

 Unable to find /Users/rjsteinert/Desktop/barn/app/index.html. Reference to models/Bar.js not added.

   create app/scripts/models/Bar.js
   create test/models/Bar.spec.js


 /.../Desktop/barn ♘ yo backbone:collection Barns

 Unable to find /Users/rjsteinert/Desktop/barn/app/index.html. Reference to collections/Barns.js not added.

   create app/scripts/collections/Barns.js
   create test/collections/Barns.spec.js
 /.../Desktop/barn ♘ yo backbone:view Barns

 Unable to find /Users/rjsteinert/Desktop/barn/app/index.html. Reference to views/Barns.js not added.

   create app/scripts/templates/Barns.ejs
   create app/scripts/views/Barns.js
   create test/views/Barns.spec.js
@k-funk
k-funk commented Sep 26, 2015

I've got the same issue.
Working from master @9b2dc5dc3e0d4f4f88bf875123233f7a81d58c87
The path that it claims it cannot find is a file that I can cat.

@ruyadorno ruyadorno added the bug label Sep 30, 2015
@ruyadorno ruyadorno added a commit to ruyadorno/generator-backbone that referenced this issue Sep 30, 2015
@ruyadorno ruyadorno Fix script tags not being added to index file, fixes #364 8290293
@SBoudrias SBoudrias closed this in #368 Oct 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment