提交 b5ce8bd0 编写于 作者: A Andrea Bolognani

cfg.mk: Prohibit backspace alignment attempts

Now that our codebase is clean, we can add a syntax-check rule
to ensure it will remain so.
Signed-off-by: NAndrea Bolognani <abologna@redhat.com>
上级 3e7db8d3
......@@ -1037,6 +1037,12 @@ sc_prohibit_http_urls:
halt='Links must use https:// protocol' \
$(_sc_search_regexp)
sc_prohibit_backslash_alignment:
@prohibit='[[:blank:]][[:blank:]]\\$$' \
in_vc_files='*\.([chx]|am|mk)$$' \
halt='Do not attempt to right-align backslashes' \
$(_sc_search_regexp)
# We don't use this feature of maint.mk.
prev_version_file = /dev/null
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册