Pass cargoTestFlags as array
This commit is contained in:
parent
c3484979ea
commit
022fc378aa
1 changed files with 6 additions and 1 deletions
|
@ -37,7 +37,12 @@ rustPlatform.buildRustPackage rec {
|
||||||
# Omitted: --doc
|
# Omitted: --doc
|
||||||
# Can be removed after 0.4.3 or when https://github.com/DioxusLabs/dioxus/pull/1706 is resolved
|
# Can be removed after 0.4.3 or when https://github.com/DioxusLabs/dioxus/pull/1706 is resolved
|
||||||
# Matches upstream package test CI https://github.com/DioxusLabs/dioxus/blob/544ca5559654c8490ce444c3cbd85c1bfb8479da/Makefile.toml#L94-L108
|
# Matches upstream package test CI https://github.com/DioxusLabs/dioxus/blob/544ca5559654c8490ce444c3cbd85c1bfb8479da/Makefile.toml#L94-L108
|
||||||
cargoTestFlags = "--lib --bins --tests --examples";
|
cargoTestFlags = [
|
||||||
|
"--lib"
|
||||||
|
"--bins"
|
||||||
|
"--tests"
|
||||||
|
"--examples"
|
||||||
|
];
|
||||||
|
|
||||||
passthru.tests.version = testers.testVersion {
|
passthru.tests.version = testers.testVersion {
|
||||||
package = dioxus-cli;
|
package = dioxus-cli;
|
||||||
|
|
Loading…
Reference in a new issue