diff options
| author | evuez <julien@mulga.net> | 2024-04-03 22:43:16 +0200 |
|---|---|---|
| committer | evuez <julien@mulga.net> | 2024-04-03 22:43:16 +0200 |
| commit | 43e1a12b5bce11b4a28a53acca243e35c2be6d3e (patch) | |
| tree | 07d64823718bfee063ab7b3d5721ac1e950ae17c /Makefile | |
| download | carton-43e1a12b5bce11b4a28a53acca243e35c2be6d3e.tar.gz | |
Initial commit
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;' |
