aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: f059b3c0e51e170abec25e29f719d209cf9a7347 (plain)
1
2
3
4
5
6
7
8
9
10
11
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;'