diff --git a/add_useful_aliases.sh b/add_useful_aliases.sh new file mode 100644 index 0000000000000000000000000000000000000000..edf18b42e90308de0c828e3a9cfbcc04ed7006cb --- /dev/null +++ b/add_useful_aliases.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +echo '# Alias definitions.' >> .bashrc +echo '. ~/.bash_aliases' >> .bashrc + +echo '# Useful aliases for the Dunitrust project' > .bash_aliases + +alias cb="cargo fmt && cargo build" +alias cbr="cargo fmt && cargo build --release" +echo 'alias cbrf="cargo fmt && cargo build --release --manifest-path bin/dunitrust-server/Cargo.toml --features ssl"' >> .bash_aliases +alias cc="cargo fmt && cargo check" +alias cp="cargo clippy" +alias cr="cargo run --release --" +alias fmt="cargo fmt" +alias tc="cargo fmt && cargo test --package" +alias ta="cargo fmt && cargo test --all" +alias tac="cargo fmt && cargo tarpaulin --all -i -o Html -- --skip test_connection_negociation"