fuzzyworld

find-stone-beer / commit

Added clean command to dump the cache.

2fc1f374a0db740540222c8ae8ecba5f1df149d7 · Pavel Safronov · 2023-08-26 23:40:39 -0700 · parents b88336385903

Added clean command to dump the cache.
 Makefile | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 24e612a..490ccde 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,6 @@
-all: build test run
+all: clean build test run
+
+test: build test run
 
 build:
 	go build .
@@ -7,4 +9,7 @@ test:
 	go test -v .
 
 run:
-	go run .
\ No newline at end of file
+	go run .
+
+clean:
+	rm -rf ./cache
\ No newline at end of file