Skip to content

Commit 82d28a8

Browse files
committed
Merge branch 'hotfix/v2.1.2'
2 parents c7c55bd + 79c831b commit 82d28a8

3 files changed

Lines changed: 16 additions & 4 deletions

File tree

docs.tar.gz

-702 Bytes
Binary file not shown.

lib/PCAP.pm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ use base 'Exporter';
2626
use FindBin qw($Bin);
2727
use File::Which qw(which);
2828

29-
our $VERSION = '2.1.0';
29+
our $VERSION = '2.1.2';
3030
our @EXPORT = qw($VERSION _which);
3131

3232
const my $LICENSE =>
@@ -74,6 +74,7 @@ const my %UPGRADE_PATH => ( # all earlier versions need full upgrade
7474
'2.0.0' => 'biobambam',
7575
'2.0.1' => '',
7676
'2.1.0' => '',
77+
'2.1.2' => '',
7778
);
7879

7980
sub license {

prerelease.sh

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,26 @@ fi
2020
# change into the location of the script
2121
cd $MY_PATH
2222

23-
echo '### Running perl tests ###'
23+
echo -e '\n### Compile/Test C ###\n'
24+
set +u
25+
if [ "x$HTSLIB" == "x" ]; then
26+
echo -e '\n\t$HTSLIB not defined skipping C compile/test\n'
27+
else
28+
make -C c clean
29+
make -C c
30+
make -C c clean
31+
fi
32+
set -u
33+
34+
echo -e '\n\n### Running perl tests ###\n'
2435

2536
export HARNESS_PERL_SWITCHES=-MDevel::Cover=-db,reports,-select='^lib/*\.pm$',-ignore,'^t/'
2637
rm -rf reports docs pm_to_blib blib
2738
cover -delete
2839
mkdir -p docs/reports_text
2940
prove -w -I ./lib
30-
echo
31-
echo '### Generating test/pod coverage reports ###'
41+
42+
echo -e '\n\n### Generating test/pod coverage reports ###\n'
3243
# removed 'condition' from coverage as '||' 'or' doesn't work properly
3344
cover -coverage branch,subroutine,pod -report_c0 50 -report_c1 85 -report_c2 100 -report html_basic reports -silent
3445
cover -coverage branch,subroutine,pod -report text reports -silent > docs/reports_text/coverage.txt

0 commit comments

Comments
 (0)