From e8437c171112e90b94f4e593c821f83f66679161 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 12 Jul 2021 16:56:01 -0300 Subject: Makefile: Fail early when Guix fails, put queue.scm at the beginning --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 3b0bad7..9b87d65 100644 --- a/Makefile +++ b/Makefile @@ -2,14 +2,14 @@ NAME = package-repository MAILING_LIST = public-inbox guix-sources = \ + src/xyz/euandreh/queue.scm \ src/xyz/euandreh/latest.scm \ src/xyz/euandreh/packages.scm \ src/xyz/euandreh/posix.scm \ - src/xyz/euandreh/queue.scm \ src/xyz/euandreh/pending.scm all: - for s in $(guix-sources); do guix build -Lsrc/ -K -f $$s; done + for s in $(guix-sources); do guix build -Lsrc/ -K -f $$s || exit 1; done nix-shell --run '' refresh: -- cgit v1.2.3