From 8c0a60a4e8a2743a5e3dff1c31680b346ec78aff Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Sun, 15 May 2022 14:49:03 +0300 Subject: [PATCH] chore: add makefile to frequently used commands --- makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 makefile diff --git a/makefile b/makefile new file mode 100644 index 0000000..473da9b --- /dev/null +++ b/makefile @@ -0,0 +1,13 @@ + +api-r: + cargo run --bin api + +api-t: + cargo test --bin api + +w-api-r: + cargo watch -i db -x "run --bin api" + +w-api-t: + cargo watch -i db -x "test --bin api" +