mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
17 lines
313 B
Rust
17 lines
313 B
Rust
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 {}
|