Is there a way to have a install_crate depedency for init tasks/plugins #982
-
I have an init task that uses a cargo-make plugin to invoke rust-script. Is there a way to enforce that rust-script is actually insatlled (like |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
On second thought, is it because for tasks that specify plugins, you're supposed to handle the execution yourself, so it doesn't actually do anything with the |
Beta Was this translation helpful? Give feedback.
no. since its embedded inside cargo-make, the script is in memory....
i could dump it via verbose to outside if that helps (maybe i already do that, can't remember)
cm_plugin_run_custom_task enables you to modify the task and run it.
it handles all logic except dependencies, because dependencies should have already been executed so i don't want to execute them again. well, unless i forgot how it works lol