mirror of https://github.com/LemmyNet/lemmy.git
woodpecker-path-conditions-2
parent
6799382e1a
commit
ff8f0902f4
|
@ -4,7 +4,7 @@
|
||||||
variables:
|
variables:
|
||||||
- &muslrust_image "clux/muslrust:1.70.0"
|
- &muslrust_image "clux/muslrust:1.70.0"
|
||||||
- &slow_check_paths
|
- &slow_check_paths
|
||||||
- path:
|
- path: &when_path
|
||||||
- "crates"
|
- "crates"
|
||||||
- "src"
|
- "src"
|
||||||
- "Cargo.toml"
|
- "Cargo.toml"
|
||||||
|
|
|
@ -66,7 +66,7 @@ pub(crate) const REQWEST_TIMEOUT: Duration = Duration::from_secs(10);
|
||||||
|
|
||||||
/// Placing the main function in lib.rs allows other crates to import it and embed Lemmy
|
/// Placing the main function in lib.rs allows other crates to import it and embed Lemmy
|
||||||
pub async fn start_lemmy_server() -> Result<(), LemmyError> {
|
pub async fn start_lemmy_server() -> Result<(), LemmyError> {
|
||||||
println!("test 2");
|
println!("test 3");
|
||||||
let args: Vec<String> = env::args().collect();
|
let args: Vec<String> = env::args().collect();
|
||||||
|
|
||||||
let scheduled_tasks_enabled = args.get(1) != Some(&"--disable-scheduled-tasks".to_string());
|
let scheduled_tasks_enabled = args.get(1) != Some(&"--disable-scheduled-tasks".to_string());
|
||||||
|
|
Loading…
Reference in New Issue