Replies: 1 comment 2 replies
-
For clarity, when using an acronym, please spell it out once, the first time you use it. e.g.
It's probably ok to use some very very common acronyms like
I believe that you must explicitly pass I'm tagging this as
A |
Beta Was this translation helpful? Give feedback.
-
So, I have this use case: I want to build firmware for a particular SoC using a cross-compiler and support doing so on any operating system (as our developers currently run Windows and macOS but we also use Linux for CI). I have pre-built binaries of the compilers for each platforms and pre-existing makefiles for building, so what I basically need is a way to tie everything together. There's a lot of backend, frontend, test code and other tools that will move into this system later as well.
My intended way to implement this is to create OS-specific tasks to download and unpack the compiler needed, depending on what operating system Taskfile is run on. The task would update PATH to include binaries in the unpacked files. Finally I would just want to depend on this task for each firmware I build (since I have multiple) and just re-use the environment (to run
make
). As far as I understand, it's not possible to carry over (environment) variables from a task to its dependents? Any other suggestions for doing this?(Platform independent support to download external files in a Taskfile would be great btw)
Beta Was this translation helpful? Give feedback.
All reactions