hoodiehq/hoodie-cli — pull request #123 by basti1302 (2014-05-30 20:48:55+00:00)
Title: [fix] don't mess up template in cache folder. Fixes #103

Changes the order of actions when creating a new app from a template, so that the template is copied first and all other actions (replacement of placeholder strings etc.) are done in the new app directory, not in the cached template directory.

Sorry, the diff looks larger than necessary because I moved `copyToCwd` up so that the order in which the methods are declared still matches the order in the `async.applyEachSeries` call.