cfpb / generator-cf

Yeoman generator for Capital Framework
http://cfpb.github.io/capital-framework/getting-started/
Creative Commons Zero v1.0 Universal
9 stars 13 forks source link

Tailor demo page to user-selected components #15

Closed contolini closed 9 years ago

contolini commented 9 years ago

This'll have the demo page that comes with the generator only include the components selected by the user.

himedlooff commented 9 years ago

Getting an error running grunt build.

yo-cf-test:  grunt build
Warning: Task "copy" not found. Use --force to continue.
contolini commented 9 years ago

Whaaaa. Can you open the gruntfile and see if there's a copy task there?

himedlooff commented 9 years ago

Yeah, there is. https://github.com/contolini/generator-cf/blob/custom-demo/app/templates/_Gruntfile.js#L216

contolini commented 9 years ago

And the grunt file is being copied over okay to your yo-cf-test directory after running yo cf?

himedlooff commented 9 years ago

Hmmm, not seeing grunt-contrib-copy in my package.json

contolini commented 9 years ago

That's bizarre, it should just copy over this package.json. Does yours look different than that file?

himedlooff commented 9 years ago

Ahh, it's probably because I'm testing your code on a branch. Now let me remember how to do this...

himedlooff commented 9 years ago

Working now, my bad!