in my Bacn project I have the Gruntfile.js file in my /server/ folder
(where LB is)


On Tue, Feb 4, 2014 at 10:16 AM, Miroslav Bajtoš
<notifications@github.com>wrote:

> In tasks/loopback_angular.js:
>
> > +
> > +    // Merge task-specific and/or target-specific options with these defaults.
> > +    var options = this.options({
> > +      ngModuleName: 'lbServices',
> > +      apiUrl: undefined
> > +    });
> > +
> > +    var appFile = options.input;
> > +    if (!appFile)
> > +      grunt.fail.warn('Missing mandatory option "input".');
> > +
> > +    if (!grunt.file.exists(appFile))
> > +      grunt.fail.warn('Input file ' + appFile + ' not found.');
> > +
> > +    if (!options.output)
> > +      grunt.fail.warn('Missing mandatory option "output".');
>
>  a Bacn project uses '/client/www' as the location for static files, not
> 'Public'
>
> Where is the Gruntfile located? Is it /Gruntfile.js or
> /client/Gruntfile.js?
>
> I suppose the default value can check for presence of public/js,
> /client/www, etc. and pick the first existing directory for the output
> path.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/strongloop/grunt-loopback-angular/pull/1/files#r9431572>
> .
>