Closed makubacki closed 1 year ago
Holding a bit for Joey to try a few options.
Main constraints are that we'd like to continue to accept a comma separated list as input and the @@split()
function appears to mishandle comma separators.
I would consider adding individual-package-targets as a depenency for all commands for consistency's sake. It looks like they all support passing -p
multiple times. If you do that, I would remove the initial -p
from PACKAGE_TARGET ENV variable and let your script handle that.
I would consider adding individual-package-targets as a depenency for all commands for consistency's sake. It looks like they all support passing
-p
multiple times. If you do that, I would remove the initial-p
from PACKAGE_TARGET ENV variable and let your script handle that.
I think that is best too. I'll check it for each command and push an update.
I would consider adding individual-package-targets as a depenency for all commands for consistency's sake. It looks like they all support passing
-p
multiple times. If you do that, I would remove the initial-p
from PACKAGE_TARGET ENV variable and let your script handle that.I think that is best too. I'll check it for each command and push an update.
Updated.
Tarpaulin 0.27 was released on September 17, 2023: https://github.com/xd009642/tarpaulin/releases/tag/0.27.0
The clap crate (Command Line Argument Parser) dependency within tarpaulin was upgraded in the 0.27 release from an old version (v2) to the latest major version (v4):
This means passing packages to a single
-p
parameter as a comma- separated list is no longer supported:Providing users the ability to pass packages separated by commas to
cargo make coverage
is convenient and assumed in our documentation and wrapper scripts.This change retains the same user-facing interface to
cargo make coverage
while using a duckscript within the cargo makefile to transform the list to the format accepted by tarpaulin. Other commands are unchanged.Duckscript is useful because it is readily embedded in cargo-make so no additional dependencies are required and it is cross-platform.
In addition, a minor fix is made by changing
Html
tohtml
for the following issue: