aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
blob: ff3c025329e6fdf7e92690915f69cb94b42ea0a6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
mod itfile;
mod midifile;
mod portmod;
mod convert;
mod utils;

fn main() -> Result<(), itfile::Error> {
  match itfile::load("/home/chrisoft/Music/mods/rr_e.it")
  {
    Ok(f) =>
    {
      let mut conv = convert::Converter::new(&f);
      conv.convert();
      Ok(())
    }
    Err(e) => Err(e)
  }
}