summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-03-27 00:03:31 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-03-27 00:03:31 +0100
commitde6be0237933cd5b807f33a56a9b0bc3b5beda80 (patch)
tree4834d2b5c2b4b7d2cd0cbc5726604b58693f42e6
parent7cdc7e579b4cbfc70f3fb6fcf31d77b14901db07 (diff)
downloadguix-de6be0237933cd5b807f33a56a9b0bc3b5beda80.tar.gz
gnu: python-django-contact-form: Use INVOKE.
* gnu/packages/django.scm (python-django-contact-form)[arguments]: Use INVOKE.
-rw-r--r--gnu/packages/django.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 8fd29d533a..99eeb66e9c 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)))