1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
use std::process::Command; use anyhow::Ok; use crate::util::{Config, SubstrateResult}; pub struct DevOptions { pub debug: bool, } pub fn test() -> SubstrateResult<()> { Command::new("cargo").args(["+nightly", "test"]).status()?; Ok(()) }