Separated the binary from lib/sdk
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
use std::path::PathBuf;
|
||||
|
||||
use voxa_server::{ServerConfig, vfs};
|
||||
|
||||
fn main() -> voxa_server::Result<()> {
|
||||
let root = PathBuf::from("");
|
||||
let config: ServerConfig = vfs::read_config(&root.join("config.json"))?;
|
||||
config.build(&root).run()?;
|
||||
Ok(())
|
||||
}
|
||||
Reference in New Issue
Block a user