Bug 39325: Skip codespell check for bullseye
bullseye has 2.0.0-1 bookworm has 2.2.2-1 Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
3e68c4cf2e
commit
ea8a81fd68
|
|
@ -3,10 +3,16 @@ use Modern::Perl;
|
|||
use Test::PerlTidy;
|
||||
use Test::More;
|
||||
|
||||
my $codespell_version = qx{codespell --version};
|
||||
chomp $codespell_version;
|
||||
$codespell_version =~ s/-.*$//;
|
||||
if ( ( $codespell_version =~ s/\.//gr ) < 220 ) { # if codespell < 2.2.0
|
||||
plan skip_all => "codespell version $codespell_version too low, need at least 2.2.0";
|
||||
}
|
||||
my @files;
|
||||
push @files,
|
||||
qx{git ls-files '*.pl' '*.PL' '*.pm' '*.t' ':(exclude)installer/data/mysql/updatedatabase.pl' ':(exclude)installer/data/mysql/update22to30.pl' ':(exclude)installer/data/mysql/db_revs/241200035.pl' ':(exclude)misc/cronjobs/build_browser_and_cloud.pl'};
|
||||
push @files, qx{git ls-files svc opac/svc}; # Files without extension
|
||||
push @files, qx{git ls-files svc opac/svc}; # Files without extension
|
||||
push @files, qx{git ls-files '*.tt' '*.inc'};
|
||||
push @files,
|
||||
qx{git ls-files '*.js' '*.ts' '*.vue' ':(exclude)koha-tmpl/intranet-tmpl/lib' ':(exclude)koha-tmpl/intranet-tmpl/js/Gettext.js' ':(exclude)koha-tmpl/opac-tmpl/lib' ':(exclude)koha-tmpl/opac-tmpl/bootstrap/js/Gettext.js'};
|
||||
|
|
|
|||
Loading…
Reference in New Issue