fleet-rs 0.0.1

The blazing fast build tool for Rust.
use std::{env::current_dir, path::PathBuf};

use crate::config::FleetConfig;

pub struct App {
    pub config: FleetConfig,
    pub current_dir: PathBuf,
}

impl Default for App {
    fn default() -> Self {
        Self::new()
    }
}

impl App {
    pub fn new() -> Self {
        let current_dir = current_dir().unwrap();
        let config = FleetConfig::new();
        // check
        let config = config.run_config();

        Self {
            config,
            current_dir,
        }
    }
}