sagiegurari / cargo-make

Rust task runner and build tool.
https://sagiegurari.github.io/cargo-make/
Apache License 2.0
2.46k stars 123 forks source link

`install_crate` does not get overridden #1063

Closed wmmc88 closed 3 months ago

wmmc88 commented 3 months ago

Describe The Bug

The install_crate of defined tasks cannot be overriden.

To Reproduce

[tasks.test]
install_crate = { crate_name = "cargo-expand", version = "1.0.80" }

[tasks.test] defines install_crate = false. I expect to be able to override this per the docs. When I add the above snippet to my makefile, cargo-make still does not try to install cargo-expand.

sagiegurari commented 3 months ago

see what i wrote in #1062 the core of the issue is that the format you used to define the installation is wrong. i wrote the available ones in the other issue