makefile: print error messages

master
Philippe Pittoli 2023-06-14 01:47:40 +02:00
parent d66afffc15
commit 7dfbeacd68
1 changed files with 11 additions and 2 deletions

View File

@ -26,7 +26,16 @@ print-messages:
cat src/requests/*.cr | ./bin/get-messages.awk cat src/requests/*.cr | ./bin/get-messages.awk
print-message-numbers: print-message-numbers:
make print-messages | grep -E "^[0-9]" | sort -n make -s print-messages | grep -E "^[0-9]" | sort -n
print-messages-without-comments: print-messages-without-comments:
make print-messages | grep -vE '^[[:blank:]]+#' make -s print-messages | grep -vE '^[[:blank:]]+#'
print-error-messages:
cat src/responses/*.cr | ./bin/get-messages.awk
print-error-message-numbers:
make -s print-error-messages | grep -E "^[0-9]" | sort -n
print-error-messages-without-comments:
make -s print-error-messages | grep -vE '^[[:blank:]]+#'