andreynering
dotenv merges in inverse order?
IIRC there was some discussion at the time on the priority order. We made a deliberate decision to implement this way.
The idea is to follow the behavior of how
.env
files usually work. They do not override values that are already set on the ENV. In the same way, we loop over the list of .env
files and only set the ENVs that were not previously set.6 replies
Requires vars and CLI_ARGS cohabitation ?
Hi @Nargit. You may be interested in https://github.com/go-task/task/issues/2139
4 replies
[Question] Best practice around "remote" taskfiles
Hi @leaanthony. Sorry for the wait, it was a holiday here in Brazil in the past days, so I was OOO.
I don't have the full context of what you're trying to do at Wails, but from what I could understand, I'd say it'd be better to disallow remote Taskfiles or vendor them somehow so we avoid issues with synchronization. If the plugin version differs from remote, you could have issues.
3 replies
How to reuse code in taskfile?
3. You might be interested into this proposal: https://github.com/go-task/task/issues/448
11 replies
Convert string variable to integer
Hi @Rots,
Yes, take a look at this page: https://go-task.github.io/slim-sprig/conversion.html
3 replies
Watching golang source w net/http server
Hi @dNaszta,
Task's watcher is not 100% polished, so it may fail in some scenarios.
I suggest you to try dedicated tools like Air (https://github.com/air-verse/air). Both tools can be used together.
4 replies