Nate Finch
Nate Finch
if there's already a go.mod in the folder tree you're working in (either in the same directory or a parent directory), then this doesn't apply. The only place it would...
We can probably have mage create the go.mod and go.sum if they don't exist. I think they would need to stick around and not get auto-deleted, though, since most go...
Yeah, I think it makes sense. Maybe implemented like testing.Tcs Cleanup, so you can treat it like defer, but for the whole process run.
Yeah, so, I think it would be better to make a mg.Cleanup() method that stores a list of functions to call that are called in a defer in the generated...
Yeah I'll look at this again tonight. I have some reservations about random config files for a million things.... But I appreciate the attempt to keep things consistent.
So the flags become optional parameters that you need to use `--` to specify? That's interesting... but I'm not 100% sure the extra complexity in the code and the docs...
I definitely see the value in this, but I think I want to go a slightly different way. I think we could dispense with mg.BoolFlag and just use pointers (*bool...
If you're trying to autocomplete inside the magefile itself... you probably have to tell your editor to include the `mage` build tag in its compilation to get auto-complete. This is...
formatting ldflags with the correct quoting is super annoying and hard. Now add that to the fact that `os/exec` and thus `sh` are not actual shells (despite the misleading name...
When you say debug, do you mean with delve to step through it? I haven't needed to do that, but it seems like your procedure should work. What happens when...