[Git][haskell-team/dh-haskell][history] Use the same build recipes as the older CDBS module hlibrary.mk from haskell-devscripts.

Felix Lechner (@lechner) gitlab at salsa.debian.org
Sat Apr 9 00:34:16 BST 2022



Felix Lechner pushed to branch history at Debian Haskell Group / dh-haskell


Commits:
dbdefd61 by Felix Lechner at 2022-04-08T16:31:42-07:00
Use the same build recipes as the older CDBS module hlibrary.mk from haskell-devscripts.

- - - - -


1 changed file:

- lib/Debian/Debhelper/Buildsystem/haskell.pm


Changes:

=====================================
lib/Debian/Debhelper/Buildsystem/haskell.pm
=====================================
@@ -190,33 +190,7 @@ sub build {
     my ($self) = @_;
 
     build_recipe();
-
     haddock_recipe();
-
-    $self->check;
-
-    return;
-}
-
-sub check {
-    my ($self) = @_;
-
-    if ($ENV{DEB_ENABLE_TESTS} ne 'yes') {
-
-        say encode_utf8(
-'DEB_ENABLE_TESTS not set to yes, not running any build-time tests.'
-        );
-        return;
-    }
-
-    if ($ENV{DEB_BUILD_OPTIONS} =~ m{ nocheck }x) {
-
-        say encode_utf8(
-'DEB_BUILD_OPTIONS contains nocheck, not running any build-time tests.'
-        );
-        return;
-    }
-
     check_recipe();
 
     return;
@@ -230,7 +204,6 @@ sub install {
     run($ENV{DEB_SETUP_BIN_NAME},
         'copy', "--builddir=dist-$compiler", '--destdir=debian/tmp');
 
-
     return;
 }
 



View it on GitLab: https://salsa.debian.org/haskell-team/dh-haskell/-/commit/dbdefd61e6089773339c07a1503f4b6154da76cf

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/dh-haskell/-/commit/dbdefd61e6089773339c07a1503f4b6154da76cf
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-commits/attachments/20220408/a2e50cca/attachment-0001.htm>


More information about the Pkg-haskell-commits mailing list