mirror of
https://github.com/irssi/irssi.git
synced 2026-08-17 07:32:04 +02:00
move clang-format-xs into utils
This commit is contained in:
parent
8f6e67b9b3
commit
7379833b53
5 changed files with 1 additions and 1 deletions
10
.github/workflows/clangformat/format-xs-2.pl
vendored
10
.github/workflows/clangformat/format-xs-2.pl
vendored
|
|
@ -1,10 +0,0 @@
|
|||
use strict;
|
||||
use warnings;
|
||||
|
||||
my $doc = do { local $/; <> };
|
||||
|
||||
$doc =~ s{\}[ \t]*/[*] -xs- [*]/\s*}{}g;
|
||||
$doc =~ s{^[ \t]*?/[*] =xs= (.*?) [*]/(\s*\{$)?}{$1}gms;
|
||||
$doc =~ s{^[ \t]*?/[*] clang-format off [*]//[*] =xs= (.*?) [*]/\s?/[*] clang-format on [*]/(\s*\{$)?}{$1}gms;
|
||||
|
||||
print $doc;
|
||||
Loading…
Add table
Add a link
Reference in a new issue