commited, squashed and re-pushed ready to be pulled.

One gotcha I noted with the current implementation of this, which also
affects --test-framework is that you really have to put the '=' or else it
doesn't work. I wonder if that's something that needs to be fixed?

There's another thing I've just realised: Would you want the app/index.html
file updating to say which templating is installed?

andy


On 19 April 2013 19:42, Revath S Kumar <notifications@github.com> wrote:

> In script-base.js:
>
> > @@ -59,3 +59,16 @@ Generator.prototype.isUsingRequireJS = function isUsingRequireJS() {
> >    var ext = this.env.options.coffee ? '.coffee' : '.js';
> >    return (/require\.config/).test(this.read(path.join(process.cwd(), 'app/scripts/main' + ext)));
> >  };
> > +
> > +Generator.prototype.getTemplateFramework = function getTemplateFramework () {
> > +  if (!(require('fs').exists(path.join(process.cwd(), 'Gruntfile.js')))) {
>
> @zeripath <https://github.com/zeripath> I think we need to use *existsSync
> *.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/yeoman/generator-backbone/pull/38/files#r3879286>
> .
>



-- 
Andrew Thornton
art27@cantab.net