thoughtbot / react-native-template

Template React Native project to be used with Cookiecutter
MIT License
61 stars 8 forks source link

Simplify cookiecutter generation using rsync #7

Closed sharplet closed 7 years ago

sharplet commented 7 years ago

The existing procedure using cp -r and a series of exclusions passed to find was imperfect, causing unwanted files to end up in the cookiecutter, and somewhat difficult to maintain.

Using rsync allows for much simpler specification of ignored files, and is much faster to boot.

sharplet commented 7 years ago

To be clear: the biggest part of this problem has been iterating on TemplateProject and having build products turn up in the generated cookiecutter, and possibly causing it to choke when it processes a binary file.