From b6a69cbeaca25326126063ed445165ca9a7fb6cb Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Fri, 27 May 2022 23:06:34 +0300 Subject: [PATCH] change makefile commands --- makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/makefile b/makefile index 473da9b..ea94107 100644 --- a/makefile +++ b/makefile @@ -1,13 +1,13 @@ -api-r: +w-api: + cargo watch -c -w api -x "run --bin api" + +w-api-t: + cargo watch -c -w api -x "test --bin api" + +api: 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" -