yeoman/generator-mobile

Confused about Gruntfile versions in repo vs generated

Closed this issue · 2 comments

This is probably me not understanding something, but I'm confused about the versions.

When I start yo and then select Run the mobile generator (1.0.0-alpha.1) it will download a bunch of stuff and appear not to have any issues. However, when I look at the Gruntfile.js created and compare it to the Gruntfile in this repo they are not identical. Shouldn't they be?

For example, on line 58 of the Gruntfile the repo has:

path: '<%= yeoman.dist %>/screenshots/',

but in my generated Gruntfile it shows:

path: '/screenshots/',

Edit: this is just a guess, but is there a typo in the repo where it should be <%%= yeoman.dist %> instead?

However, when I look at the Gruntfile.js created and compare it to the Gruntfile in this repo they are not identical. Shouldn't they be?

No, you're using the published generator. The one in the repo is master and might have newer changes than what's published.