From ec0b3d47b6d19fe6a3c22cb2350c17193d2be13e Mon Sep 17 00:00:00 2001 From: 3dida <44850191+aallali@users.noreply.github.com> Date: Mon, 27 May 2024 18:41:44 +0100 Subject: [PATCH] [+] : clean-test-db command : @ Makefile --- safina_db/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/safina_db/Makefile b/safina_db/Makefile index 15697be..040f5db 100644 --- a/safina_db/Makefile +++ b/safina_db/Makefile @@ -19,8 +19,10 @@ run: test: @echo "Running tests..." @cargo test + make clean-test-db - +clean-test-db: + @rm db-test-* # Run benchmarks bench: @echo "Running benchmarks..." @@ -28,6 +30,7 @@ bench: @echo "Moving benchmarks output to 'benchmarks' folder..." @rm -rf ../benchmarks @mv target/criterion ../benchmarks/ + make clean-test-db # Generate documentation and move it to 'documentation' folder doc: @@ -43,3 +46,4 @@ clean: @echo "Cleaning the project..." @cargo clean @rm -rf documentation + make clean-test-db