JimMoen
5a25d53fba
fix: avoid stray `\` warning for grep 3.8+
...
Only the first `-` in ERE need escaping to ensure it's not a command
option for `grep`.
The fix also tested on BSD grep 2.6 and works well.
More details:
https://lists.gnu.org/archive/html/info-gnu/2022-09/msg00001.html
> Regular expressions with stray backslashes now cause warnings, as
their unspecified behavior can lead to unexpected results.
For example, '\a' and 'a' are not always equivalent
<https://bugs.gnu.org/39678 >.
2023-05-06 12:42:53 +08:00
Andrew Mayorov
30aa7d7a7e
ci: bump elvis version to `1.1.0-emqx-2`
2022-12-16 13:45:05 +03:00
Zaiming (Stone) Shi
ee1b826d2a
chore: less verbose debug info from elvis-check
2022-03-25 07:26:43 +01:00
Zaiming Shi
ce8e52f4d0
ci: fix job syntax
2021-11-04 18:32:03 +01:00
Zaiming Shi
d1abb30818
ci: fix elvis check
2021-11-04 15:27:10 +01:00
JianBo He
f08ddec296
Add server_name_indication and verify option ( #4349 )
...
Add server_name_indication and verify option
2021-03-23 19:48:04 +08:00
Zaiming Shi
dc510fb572
chore(build): Upgrade to elvis 1.0.0-emqx-2
...
This version ensures spaces around '|' and '||'
2021-03-22 21:15:16 +01:00
zhanghongtong
f0d42bc6f5
build(CI): fix build error on windows in github actions
2021-03-03 19:48:34 +08:00
Zaiming Shi
82d14df3e7
Merge remote-tracking branch 'origin/master' into dev/v4.3.0
2021-02-23 14:27:54 +01:00
Zaiming Shi
6f736a79b7
chore(script): Allow compare base to be a commit sha1 hash
2021-02-11 16:44:12 +01:00
Zaiming Shi
ed25c62fed
chore(elvis): Add usage print
2021-01-21 21:05:56 +01:00
Zaiming Shi
ca32ac310f
chore(style): make elvis happy
2021-01-21 21:05:56 +01:00
zhanghongtong
3ef08f9ce3
test(meck): add meck unload after meck load
2020-12-22 13:39:49 +08:00
Zaiming Shi
fe675905a6
chore(elvis): Skip deleted files and non .erl files
2020-12-19 08:01:40 +01:00
Zaiming Shi
824cf26185
chore(elvis): Move elvis-check.sh to scripts dir
2020-12-19 08:01:40 +01:00