From a1f8dfd6df02aaf844b206d3efdf84640285c234 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89lo=C3=AFs?= <elois@ifee.fr> Date: Tue, 6 Aug 2019 19:51:42 +0000 Subject: [PATCH] Add new file --- add_useful_aliases.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 add_useful_aliases.sh diff --git a/add_useful_aliases.sh b/add_useful_aliases.sh new file mode 100644 index 0000000..edf18b4 --- /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" -- GitLab