mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-17 23:13:51 +01:00
Run vendor as separate script
This commit is contained in:
@@ -1,26 +0,0 @@
|
||||
#[tokio::main]
|
||||
async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
// let dir = env::var("YAAK_PLUGINS_DIR").expect("YAAK_PLUGINS_DIR not set");
|
||||
//
|
||||
// let plugin_dirs: Vec<String> = match read_dir(dir) {
|
||||
// Ok(result) => {
|
||||
// let mut dirs: Vec<String> = vec![];
|
||||
// for entry_result in result {
|
||||
// match entry_result {
|
||||
// Ok(entry) => {
|
||||
// if entry.path().is_dir() {
|
||||
// dirs.push(entry.path().to_string_lossy().to_string())
|
||||
// }
|
||||
// }
|
||||
// Err(_) => {
|
||||
// continue;
|
||||
// }
|
||||
// }
|
||||
// };
|
||||
// dirs
|
||||
// }
|
||||
// Err(_) => vec![],
|
||||
// };
|
||||
// start_server(plugin_dirs).await.unwrap();
|
||||
Ok(())
|
||||
}
|
||||
Reference in New Issue
Block a user