helper.rs 313 B

12345678910111213141516
  1. use std::sync::Once;
  2. #[allow(dead_code)]
  3. pub fn setup_env() {
  4. static INIT: Once = Once::new();
  5. INIT.call_once(|| {
  6. std::env::set_var("RUST_LOG", "flowy_sys=trace,trace");
  7. env_logger::init();
  8. });
  9. }
  10. pub struct ExecutorAction {
  11. command: String,
  12. }
  13. pub struct FlowySystemExecutor {}