www = ~/working/object-publish/public

auto:
	@bash main.sh auto-main

local:
	bash main.sh main

serve:
	@serve ${www}

reset:
	touch -d 1970-01-01T00:00:00 ${www}/epoch


debug:
	stack build

release:
	stack install --flag indexer:release

profile:
	stack build --flag indexer:release --profile
	@echo
	@echo run 'stack exec -- <program> +RTS -p'
