gig icon indicating copy to clipboard operation
gig copied to clipboard

Auto create patch if not exists

Open a-gonzalo opened this issue 3 months ago • 1 comments

Hi,

I propose to include the ./patch directory bundled into the binary (as is 130Kb approx, is not a big deal with tools like xxd I guess) and in case the patch directory doesn't exist, decompress it into the project structure.

I think it's a good idea for usability (not copying all the time you want a new project the patch dir, and also don't include new "patches" you used for other projects that doesn't need to exist in a new one).

Ty

a-gonzalo avatar Sep 23 '25 17:09 a-gonzalo

My main concern is that I want to be able to compile gig simply with gleam run src/gig, and this sounds like it would add extra steps? I'm not familiar with how bundling files works, if you can propose a solution that works with that constraint I will consider it.

schurhammer avatar Sep 29 '25 21:09 schurhammer