foundweekends / giter8

a command line tool to apply templates defined on GitHub
https://www.foundweekends.org/giter8/
Apache License 2.0
1.74k stars 223 forks source link

How can I skip webp file from giter8 parsing? #921

Closed zaryabRiasat closed 1 month ago

zaryabRiasat commented 1 month ago

I'm creating custom template using giter8. The problem is when I run sbt new file://custom-template.g8, it gives me error on .jar file as well as .webp files. I want the giter8 to not parse these files but to add these files in newly created project using this template.

I've tried to put these in .g8ignore file but it is completely ignoring these, and not adding these files in newly created project. My .g8ignore file looks like:

**/*.jar
**/*.webp

Is there any method to make giter8 to not parse these files, but include it in project?

eed3si9n commented 1 month ago

Could you try

verbatim = *.jar *.webp

https://www.foundweekends.org/giter8/template.html#verbatim+field

zaryabRiasat commented 1 month ago

@eed3si9n It worked for me. I appreciate that. Thanks.