makectl 0.2.0

Generate and manage targets in your Makefiles
1
2
3
4
5
6
7
8
9
10
11
12
13
use thiserror::Error;

#[derive(Error, Debug)]
pub enum MakectlError {
    #[error("Parse error at line {line}: {message}")]
    ParseError { line: usize, message: String },

    #[error("No managed block found for target '{name}'")]
    ManagedBlockNotFound { name: String },

    #[error(transparent)]
    Io(#[from] std::io::Error),
}