diff options
Diffstat (limited to 'xtask/src/main.rs')
-rw-r--r-- | xtask/src/main.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xtask/src/main.rs b/xtask/src/main.rs index 4d582ddd..3243b98e 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs @@ -14,7 +14,7 @@ use std::{ use structopt::StructOpt; use crate::{ - build::{build_hexpath, compare_builds}, + build::{build_hexpath, compare_builds, init_build_dir}, command::{run_command, run_successful, BuildMode, CargoCommand}, }; @@ -98,6 +98,8 @@ fn main() -> anyhow::Result<()> { let opts = Options::from_args(); let target = &opts.target; + init_build_dir()?; + if target == "all" { for t in targets { run_test(t, examples)?; |