Listen to git commits for a specific repo and run a shell command

cargo fmt

vielle.dev 1076eba6 00c06935

verified
Changed files
+3 -5
src
+3 -5
src/main.rs
··· 1 1 fn help() { 2 - println!("tangled-on-commit") 2 + println!("\n\nHELP: tangled-on-commit\n\n") 3 3 } 4 4 5 5 #[derive(Debug)] ··· 22 22 }); 23 23 } 24 24 25 - fn main() -> Result<(), i32> { 25 + fn main() -> Result<(), ()> { 26 26 27 27 // load configuration 28 28 let config = match load_config() { 29 29 Ok(res) => res, 30 30 Err(_) => { 31 31 // q 32 - return Err(1) 32 + return Err(()) 33 33 } 34 34 }; 35 - 36 - help(); 37 35 println!("{:#?}", config); 38 36 39 37 // resolve handle to did