mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 03:36:06 +00:00
* Failure -> Snafu for build command * Port skeletal remains of init to snafu * failure -> snafu for serve * failure -> snafu for upload, remove impl_from macro * failure -> custom error in vfs * Bye bye, failure * Fix Rust 1.36 build regression
17 lines
333 B
Rust
17 lines
333 B
Rust
use snafu::Snafu;
|
|
|
|
use crate::cli::InitCommand;
|
|
|
|
#[derive(Debug, Snafu)]
|
|
pub struct InitError(Error);
|
|
|
|
#[derive(Debug, Snafu)]
|
|
enum Error {}
|
|
|
|
pub fn init(options: InitCommand) -> Result<(), InitError> {
|
|
Ok(init_inner(options)?)
|
|
}
|
|
|
|
fn init_inner(_options: InitCommand) -> Result<(), Error> {
|
|
unimplemented!("init command");
|
|
}
|