Run vendor as separate script

This commit is contained in:
Gregory Schier
2024-08-09 06:49:18 -07:00
parent b5eed9bf9d
commit 4bf6ddec9f
3 changed files with 11 additions and 32 deletions

View File

@@ -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(())
}