diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
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;' |