mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-01-25 00:34:10 +00:00
apkbuild-cpan: separate './Build test' to check step
This commit is contained in:
parent
37cbcc6d99
commit
91de00773f
@ -194,7 +194,7 @@ EOF
|
||||
build() {
|
||||
cd "$builddir"
|
||||
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||
./Build && ./Build test
|
||||
./Build
|
||||
}
|
||||
EOF
|
||||
$package_func = <<'EOF';
|
||||
@ -203,6 +203,12 @@ package() {
|
||||
./Build install destdir="$pkgdir"
|
||||
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
||||
}
|
||||
EOF
|
||||
$check_func = <<'EOF';
|
||||
check() {
|
||||
cd "$builddir"
|
||||
./Build test
|
||||
}
|
||||
EOF
|
||||
} else {
|
||||
$prepare_func = <<'EOF';
|
||||
|
Loading…
Reference in New Issue
Block a user