AtomicOperation

Results 7 comments of AtomicOperation

I've tried changing the python script to implicitly create the directory (so the --destination arg is passing in just the base folder) and that has the same problem. It seems...

I'm trying to make an output dir (base_folder in the snippet above) and a symlink to a folder underneath that (toolchain_folder in the snippet).

> I suspect the reason that things go wrong if you do that is because you're trying to use a projected artifact as an output. It's not really clear what...

Thanks, but unfortunately doing it the way you suggest with the .project() call happening after .as_output() results in the same `Find would traverse a leaf at path...` error.

Thanks, this is very helpful. I'm working with @zjturner on the same project. Based on your example I've gotten something working: ```python def _rbx_openapi_impl(ctx = "context"): base_folder = cmd_args(ctx.actions.declare_output("logs").as_output()).parent() out_folder...

Actually, looking at the dynamic dependencies docs more closely, it seems that all outputs have to be declared outside the nested lambda function, so I don't think it's possible to...

Thanks! The dynamic source part isn't that critical, I was more curious to make sure I understood what was possible. Specifying the files statically makes sense. Do you have any...