@@ -91,18 +91,13 @@ set_env PYTHON_FILES ${py_files}
9191command = " rustup"
9292args = [" update" , " stable" ]
9393
94- [tasks .taplo-cli-update ]
95- install_crate = { crate_name = " taplo-cli" , binary = " taplo" , test_arg = [
96- " --help" ,
97- ], version = " 0.6.0" }
98-
9994[tasks .cargo-make-deps-update ]
100- dependencies = [" rustup-update" , " taplo-cli-update " ]
95+ dependencies = [" rustup-update" ]
10196install_crate = { crate_name = " cargo-update" , binary = " cargo-install-update" , test_arg = [
10297 " -V" ,
10398], min_version = " 7.0.1" }
10499command = " cargo"
105- args = [" install-update" , " cargo-make" ]
100+ args = [" install-update" , " taplo-cli " , " cargo-make" ]
106101
107102[tasks .generate-common-constants-rs ]
108103script_runner = " @duckscript"
@@ -964,16 +959,6 @@ dependencies = ["set-python-files"]
964959command = " ${PYTHON}"
965960args = [" -m" , " pylint" , " --output-format=parseable" , " @@split(PYTHON_FILES, )" ]
966961
967- [tasks .format-toml ]
968- description = " Formats all toml files defined in the CARGO_MAKE_FORMAT_TOML_FILES environment variable."
969- category = " Development"
970- condition = { env_set = [" CARGO_MAKE_FORMAT_TOML_FILES" ] }
971- install_crate = { crate_name = " taplo-cli" , binary = " taplo" , version = " 0.6.0" , test_arg = [
972- " --help" ,
973- ] }
974- command = " taplo"
975- args = [" format" , " ${CARGO_MAKE_FORMAT_TOML_FILES}" ]
976-
977962[tasks .toml-format-check ]
978963# Note format-toml task is defined by cargo-make to use crate taplo-cli, but the version is
979964# unspecified. Task cargo-make-deps-update keeps the dev version in sync with CI.
0 commit comments