From 43e1a12b5bce11b4a28a53acca243e35c2be6d3e Mon Sep 17 00:00:00 2001 From: evuez Date: Wed, 3 Apr 2024 22:43:16 +0200 Subject: Initial commit --- Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..f059b3c --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +.PHONY: help +help: # HELP: This output + @awk -F: '/HELP: [A-Za-z]/{print "\033[1m" $$1 "\033[0m:" $$3}' Makefile + +.PHONY: dbg.reset +dbg.reset: # HELP: Empties the blobs directory and removes all the objects + rm -r test-v2/blobs/* + sqlite3 test-v2/cache/index.sqlite3 'delete from objects;' + +.PHONY: dbg.objects-count +dbg.objects-count: # HELP: Shows the number of objects records + @sqlite3 test-v2/cache/index.sqlite3 'select count(*) from objects;' -- cgit v1.2.3