mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-01-18 04:58:51 +02:00
Update code count rules missed in 027c2638.
This commit is contained in:
parent
0c816f9481
commit
28359eea83
@ -487,10 +487,14 @@ libc/xs/storage/storage.xs:
|
||||
class: core
|
||||
type: xs
|
||||
|
||||
src/Makefile:
|
||||
src/Makefile.in:
|
||||
class: build
|
||||
type: make
|
||||
|
||||
src/build.auto.h.in:
|
||||
class: core
|
||||
type: c/h
|
||||
|
||||
src/command/archive/common.c:
|
||||
class: core
|
||||
type: c
|
||||
@ -1075,6 +1079,14 @@ src/config/protocol.h:
|
||||
class: core
|
||||
type: c/h
|
||||
|
||||
src/configure:
|
||||
class: build
|
||||
type: make
|
||||
|
||||
src/configure.ac:
|
||||
class: build
|
||||
type: make
|
||||
|
||||
src/info/info.c:
|
||||
class: core
|
||||
type: c
|
||||
|
@ -79,7 +79,8 @@ sub codeCountScan
|
||||
{
|
||||
$strClass = 'doc/core';
|
||||
}
|
||||
elsif ($strFile =~ '^build/' || $strFile =~ '^libc/build/' || $strFile eq 'libc/Makefile.PL' || $strFile eq 'src/Makefile')
|
||||
elsif ($strFile =~ '^build/' || $strFile =~ '^libc/build/' || $strFile eq 'libc/Makefile.PL' ||
|
||||
$strFile eq 'src/Makefile.in' || $strFile eq 'src/configure' || $strFile eq 'src/configure.ac')
|
||||
{
|
||||
$strClass = 'build';
|
||||
}
|
||||
@ -109,7 +110,7 @@ sub codeCountScan
|
||||
$strType = 'xs';
|
||||
$strForceLang = 'XS';
|
||||
}
|
||||
elsif ($strFile =~ '\.h$' || $strFile =~ '\.xsh$')
|
||||
elsif ($strFile =~ '\.h$' || $strFile =~ '\.h\.in$' || $strFile =~ '\.xsh$')
|
||||
{
|
||||
$strType = 'c/h';
|
||||
$strForceLang = 'C/C++ Header';
|
||||
@ -129,7 +130,7 @@ sub codeCountScan
|
||||
$strType = 'yaml';
|
||||
$strForceLang = 'YAML';
|
||||
}
|
||||
elsif ($strFile =~ 'Makefile$')
|
||||
elsif ($strFile =~ 'Makefile\.in$' || $strFile =~ '^src\/configure')
|
||||
{
|
||||
$strType = 'make';
|
||||
$strForceLang = 'make';
|
||||
|
Loading…
x
Reference in New Issue
Block a user