guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: gnu: python-django-contact-form: Use INVOKE.


From: guix-commits
Subject: 01/02: gnu: python-django-contact-form: Use INVOKE.
Date: Tue, 26 Mar 2019 19:05:07 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit de6be0237933cd5b807f33a56a9b0bc3b5beda80
Author: Ricardo Wurmus <address@hidden>
Date:   Wed Mar 27 00:03:31 2019 +0100

    gnu: python-django-contact-form: Use INVOKE.
    
    * gnu/packages/django.scm (python-django-contact-form)[arguments]: Use 
INVOKE.
---
 gnu/packages/django.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 8fd29d5..99eeb66 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -519,9 +519,9 @@ project aims to bulk update given objects using one query 
over Django ORM.")
          (replace 'check
            (lambda _
              ;; the next version will need "make test"
-             (and (zero? (system* "flake8" "contact_form"))
-                  (zero? (system* "coverage" "run" "contact_form/runtests.py"))
-                  (zero? (system* "coverage" "report" "-m" "--fail-under" 
"0"))))))))
+             (invoke "flake8" "contact_form")
+             (invoke "coverage" "run" "contact_form/runtests.py")
+             (invoke "coverage" "report" "-m" "--fail-under" "0"))))))
     (native-inputs
      `(("python-coverage" ,python-coverage)
        ("python-flake8" ,python-flake8)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]