A few little changes, but the heart of this is to minimize the amount of exec'd commands. I wanted to use a library such as tarball-extract (alluded to in #25) but that project depends on an ancient release of a node wget library that can't follow redirects, which immediately slams against Github's infrastructure.
This change adds a new --release flag to facilitate testing/using the generator with code other than master on the particle project.
There is also some general robustness improvements, such as failing earlier if curl asplodes, removing extra file copy and delete operations, and supporting the generator recursively creating the base directory of the theme in case someone specified a deeply nested location.
With this change I suppose I'll follow up with a v3.1.0 release.
A few little changes, but the heart of this is to minimize the amount of exec'd commands. I wanted to use a library such as tarball-extract (alluded to in #25) but that project depends on an ancient release of a node wget library that can't follow redirects, which immediately slams against Github's infrastructure.
This change adds a new --release flag to facilitate testing/using the generator with code other than master on the particle project.
There is also some general robustness improvements, such as failing earlier if curl asplodes, removing extra file copy and delete operations, and supporting the generator recursively creating the base directory of the theme in case someone specified a deeply nested location.
With this change I suppose I'll follow up with a v3.1.0 release.