dev: errors: make: don't pause when regenerating

This commit is contained in:
Simon Michael 2022-08-03 09:54:45 +01:00
parent 910b37abf8
commit 0a43b4c624

View File

@ -25,12 +25,10 @@ update: tests readme
tests:
@printf "(Re)generating *.test with the error messages of hledger $$($(HLEDGER) --version | awk '{print $$2}')\n"
@read -p "ok ? Press enter: "
@for f in $(ERRORSCRIPTS); do echo "HLEDGER=$(HLEDGER) ./hledger2shelltest $$f"; HLEDGER=$(HLEDGER) ./hledger2shelltest $$f; done
readme:
@printf "Updating README.md with the error messages of hledger $$($(HLEDGER) --version)\n"
@read -p "ok ? Press enter: "
sed '/<!-- GENERATED: -->/q' <README.md >README.md.tmp
echo "$$($(HLEDGER) --version | cut -d, -f1) error messages:" >>README.md.tmp
for f in $(ERRORSCRIPTS); do \