I was working on converting some of my more simple make files to alire actions but ran into two scenarios I don’t know how to approach correctly.
The first is I have some subcrates inside a crate and I want when I use alr clean
on the top level crate that it also calls it for the sub crates. Is there a way to do that? I haven’t put any dependencies in the alire toml files yet, so that maybe related. I just physically placed one crate as a subdirectory of another and referenced them via gpr files.
The second is I have a makefile line that does something like
objdump --disassemble ./bin/main.elf > ./bin/main.asm
I tried making that into a post-build
action in the toml, but it appears the >
operator is not liked when alire tries to execute the action. I tried separating all of the items into separate comma separated strings (per the examples) and I also tried using "objdump","'--disassemble ./bin/main.elf > ./bin/main.asm'"
for kicks. Any suggestions on how to handle redirects in an alire action?