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
Remove message log
vielle.dev
6 months ago
f1d15317
1e5b08c3
verified
This commit was signed with the committer's
known signature
.
vielle.dev
SSH Key Fingerprint:
SHA256:/4bvxqoEh9iMdjAPgcgAgXKZZQTROL3ULiPt6nH9RSs=
-2
1 changed file
expand all
collapse all
unified
split
src
main.rs
-2
src/main.rs
···
39
39
match ws::connect(format!("ws://{}/events", knot_server), |_out| {
40
40
println!(" Connection successful");
41
41
|msg: ws::Message| {
42
42
-
println!("Got message: {}", msg);
43
43
-
44
42
// parse json
45
43
let body = match json::parse(match msg.as_text() {
46
44
Ok(val) => val,