Move tester to a new iced_tester subcrate
This commit is contained in:
parent
9e81c2b9e8
commit
4f7444bddf
28 changed files with 392 additions and 355 deletions
|
|
@ -1,5 +1,4 @@
|
|||
use crate::executor;
|
||||
use crate::runtime::Task;
|
||||
use crate::runtime::task::{self, Task};
|
||||
|
||||
use std::process;
|
||||
|
||||
|
|
@ -7,7 +6,7 @@ pub const COMPATIBLE_REVISION: &str =
|
|||
"20f9c9a897fecac5dce0977bbb5639fdce1f54b9";
|
||||
|
||||
pub fn launch() -> Task<launch::Result> {
|
||||
executor::try_spawn_blocking(|mut sender| {
|
||||
task::try_blocking(|mut sender| {
|
||||
let cargo_install = process::Command::new("cargo")
|
||||
.args(["install", "--list"])
|
||||
.output()?;
|
||||
|
|
@ -48,7 +47,7 @@ pub fn launch() -> Task<launch::Result> {
|
|||
}
|
||||
|
||||
pub fn install() -> Task<install::Result> {
|
||||
executor::try_spawn_blocking(|mut sender| {
|
||||
task::try_blocking(|mut sender| {
|
||||
use std::io::{BufRead, BufReader};
|
||||
use std::process::{Command, Stdio};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue