forked from rojo-rbx/rojo
* Rewrite project file to have relative paths and drop SourceProject * Redo project error types * Tidy up and document Project type * Strip out init command
18 lines
383 B
Rust
18 lines
383 B
Rust
use failure::Fail;
|
|
|
|
use crate::{cli::InitCommand, project::ProjectError};
|
|
|
|
#[derive(Debug, Fail)]
|
|
pub enum InitError {
|
|
#[fail(display = "Project init error: {}", _0)]
|
|
ProjectError(#[fail(cause)] ProjectError),
|
|
}
|
|
|
|
impl_from!(InitError {
|
|
ProjectError => ProjectError,
|
|
});
|
|
|
|
pub fn init(_options: InitCommand) -> Result<(), InitError> {
|
|
unimplemented!("init command");
|
|
}
|