start with a clean ci/builds always

This commit is contained in:
Lotte Steenbrink 2021-09-20 17:35:15 +02:00
parent 7ce4391e4e
commit 7f45254e39
2 changed files with 24 additions and 6 deletions

View file

@ -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)?;