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

Automatically fetch OSPT files #17

Closed contolini closed 9 years ago

contolini commented 9 years ago

This'll pull down the files from https://github.com/cfpb/open-source-project-template and modify them appropriately. The OSPT files are just vanilla text files so I'm regex'ing them instead of the usual underscore template string interpolation. It's a little hacky but I'm unsure how else to approach it.

Another solution is to create a 'template' branch of OSPT but then we'd have to maintain two versions of the same files. If we start frequently modifying the OSPT files and breaking this regex then a separate branch might be the better approach.

Resolves #3.

ascott1 commented 9 years ago

Holy regex. Nicely done.