AppFlowy/rust-lib/flowy-sys/tests/api/helper.rs

17 lines
313 B
Rust
Raw Normal View History

2021-06-27 07:11:41 +00:00
use std::sync::Once;
#[allow(dead_code)]
pub fn setup_env() {
static INIT: Once = Once::new();
INIT.call_once(|| {
std::env::set_var("RUST_LOG", "flowy_sys=trace,trace");
env_logger::init();
});
}
pub struct ExecutorAction {
command: String,
}
pub struct FlowySystemExecutor {}