From 7086f52198f28285bb1ef59567a1433a596d8a17 Mon Sep 17 00:00:00 2001 From: Ivan Gromov Date: Sat, 30 Sep 2023 21:08:38 +0100 Subject: [PATCH] Add env file with useful aliases --- env.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 env.sh diff --git a/env.sh b/env.sh new file mode 100644 index 0000000..8d93594 --- /dev/null +++ b/env.sh @@ -0,0 +1,13 @@ +function b() { + clear + cargo build $@ +} + +function t() { + clear + cargo test $@ +} + +function format_all() { + find . -name '*.rs' | xargs rustfmt +} \ No newline at end of file