diff options
| author | Lotte Steenbrink <lotte.steenbrink@ferrous-systems.com> | 2021-09-20 17:35:15 +0200 |
|---|---|---|
| committer | Lotte Steenbrink <lotte.steenbrink@ferrous-systems.com> | 2021-09-20 18:46:15 +0200 |
| commit | 7f45254e3939af5aa940c65e52c63fa83b93c16d (patch) | |
| tree | a958fa60fbeafedb7d8578c47fcaf506722e316f /xtask/src/main.rs | |
| parent | 7ce4391e4e6bce03d42962266fe0587922e13571 (diff) | |
start with a clean ci/builds always
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 4d582dd..3243b98 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)?; |
