From 04e6b9177bc70637ea3747abc91784335b4263a2 Mon Sep 17 00:00:00 2001 From: thephez Date: Tue, 27 Feb 2018 13:18:15 -0500 Subject: [PATCH] build - Update Makefile check to allow numbers in summary name --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index da773483..c78e24e2 100644 --- a/Makefile +++ b/Makefile @@ -219,7 +219,7 @@ check-for-missing-rpc-summaries: ## Make sure the Quick Reference section has a summary for each RPC we ## have documented $S for f in _includes/devdoc/dash-core/rpcs/rpcs/*.md ;\ - do grep -q "\[$$( grep '^##### ' $$f | sed 's/^##### *\([a-zA-Z]*\).*/\1/')\]\[" _includes/devdoc/dash-core/rpcs/quick-reference.md \ + do grep -q "\[$$( grep '^##### ' $$f | sed 's/^##### *\([a-zA-Z0-9]*\).*/\1/')\]\[" _includes/devdoc/dash-core/rpcs/quick-reference.md \ || echo 'missing summary for '$$f', you need to add the summary to _includes/devdoc/dash-core/rpcs/quick-ref.md and run make manual-updates' \ ; done | eval $(ERROR_ON_OUTPUT)