tangled
alpha
login
or
join now
vielle.dev
/
tangled-on-commit
5
fork
atom
Listen to git commits for a specific repo and run a shell command
5
fork
atom
overview
issues
pulls
pipelines
cargo fmt
vielle.dev
6 months ago
1076eba6
00c06935
verified
This commit was signed with the committer's
known signature
.
vielle.dev
SSH Key Fingerprint:
SHA256:/4bvxqoEh9iMdjAPgcgAgXKZZQTROL3ULiPt6nH9RSs=
+3
-5
1 changed file
expand all
collapse all
unified
split
src
main.rs
+3
-5
src/main.rs
···
1
1
fn help() {
2
2
-
println!("tangled-on-commit")
2
2
+
println!("\n\nHELP: tangled-on-commit\n\n")
3
3
}
4
4
5
5
#[derive(Debug)]
···
22
22
});
23
23
}
24
24
25
25
-
fn main() -> Result<(), i32> {
25
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
32
-
return Err(1)
32
32
+
return Err(())
33
33
}
34
34
};
35
35
-
36
36
-
help();
37
35
println!("{:#?}", config);
38
36
39
37
// resolve handle to did