feat(service): started service

This commit is contained in:
grimhilt
2024-09-14 21:33:11 +02:00
parent cd7b225145
commit e780279acd
15 changed files with 202 additions and 45 deletions

View File

@@ -1,15 +1,5 @@
use std::env;
#[cfg(test)]
pub fn is_running() -> bool {
true
}
#[cfg(not(test))]
pub fn is_running() -> bool {
false
}
pub fn is_var_setup() -> bool {
env::var("RUNNING_TESTS").is_ok()
}