gruntwork-io / boilerplate

A tool for generating files and folders ("boilerplate") from a set of templates
https://www.gruntwork.io
Mozilla Public License 2.0
160 stars 12 forks source link

Boilerplate copies boilerplate.yml when it shouldn't. #3

Closed josh-padnick closed 3 years ago

josh-padnick commented 7 years ago
PS C:\tools> boilerplate --template-folder C:\tools\boilerplate --output-folder C:\tools\output

[boilerplate] 2016/08/08 14:42:31 Loading boilerplate config from C:\tools\boilerplate/boilerplate.yml
Enter a value for variable 'Title': Hello
Enter the welcome text for the website: Welcome!
Should the website show the logo? (default: 'true'): false
[boilerplate] 2016/08/08 14:42:36 Processing templates in C:\tools\boilerplate and outputting generated files to C:\tools\output
[boilerplate] 2016/08/08 14:42:36 Skipping C:\tools\boilerplate
[boilerplate] 2016/08/08 14:42:36 Copying C:\tools\boilerplate\boilerplate.yml to C:\tools\output/boilerplate.yml
[boilerplate] 2016/08/08 14:42:36 Processing template C:\tools\boilerplate\index.html and writing to C:\tools\output/index.html

Note the following line:

[boilerplate] 2016/08/08 14:42:36 Copying C:\tools\boilerplate\boilerplate.yml

Boilerplate is supposed to ignore this file (and possibly other files), but appears not to do so on Windows.

josh-padnick commented 7 years ago

@brikis98 I believe this is now resolved?

brikis98 commented 7 years ago

This doesn't happen on *nix, and I haven't made any changes or tested on Windows, so I'm guessing it's still an issue.

josh-padnick commented 7 years ago

Ah, missed the Windows-only part. Yep, you're right.

yorinasub17 commented 3 years ago

This is fixed for Windows now in v0.3.0