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" -