[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#71707] [PATCH v4 15/15] build-sysem/mix: Preserve code paths.
From: |
Igor Goryachev |
Subject: |
[bug#71707] [PATCH v4 15/15] build-sysem/mix: Preserve code paths. |
Date: |
Tue, 2 Jul 2024 09:55:17 +0300 |
* guix/build/mix-build-system.scm (build): Preserve code paths.
Change-Id: Ia43e79385a536de98ae026893e1bda2a8416562c
---
guix/build/mix-build-system.scm | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/guix/build/mix-build-system.scm b/guix/build/mix-build-system.scm
index fe2e36d184..0b021da791 100644
--- a/guix/build/mix-build-system.scm
+++ b/guix/build/mix-build-system.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2023 Pierre-Henry Fröhring <contact@phfrohring.com>
+;;; Copyright © 2024 Igor Goryachev <igor@goryachev.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -102,13 +103,17 @@ (define* (build #:key mix-environments #:allow-other-keys)
"Builds the Mix project."
(for-each (lambda (mix-env)
(setenv "MIX_ENV" mix-env)
- (invoke "mix" "compile" "--no-deps-check"))
+ (invoke "mix" "compile" "--no-deps-check"
+ "--no-prune-code-paths"))
mix-environments))
(define* (check #:key (tests? #t) #:allow-other-keys)
"Test the Mix project."
(if tests?
- (invoke "mix" "test" "--no-deps-check")
+ (begin
+ (setenv "MIX_ENV" "test")
+ (invoke "mix" "do" "compile" "--no-deps-check" "--no-prune-code-paths"
"+"
+ "test" "--no-deps-check"))
(format #t "tests? = ~a~%" tests?)))
(define* (remove-mix-dirs . _)
--
2.45.2
- [bug#71707] [PATCH v4 01/15] gnu: elixir: Fix mix substitute., Igor Goryachev, 2024/07/02
- [bug#71707] [PATCH v4 03/15] gnu: elixir: Update to 1.17.1., Igor Goryachev, 2024/07/02
- [bug#71707] [PATCH v4 09/15] gnu: elixir-castore: Update to 1.0.7., Igor Goryachev, 2024/07/02
- [bug#71707] [PATCH v4 08/15] gnu: elixir-bunt: Update to 1.0.0., Igor Goryachev, 2024/07/02
- [bug#71707] [PATCH v4 11/15] gnu: elixir-credo: Update to 1.7.7, fix lint warnings., Igor Goryachev, 2024/07/02
- [bug#71707] [PATCH v4 13/15] gnu: elixir-dialyxir: Update to 1.4.3., Igor Goryachev, 2024/07/02
- [bug#71707] [PATCH v4 15/15] build-sysem/mix: Preserve code paths.,
Igor Goryachev <=
- [bug#71707] [PATCH v4 06/15] gnu: elixir-jason: Fix lint warnings., Igor Goryachev, 2024/07/02
- [bug#71707] [PATCH v4 10/15] gnu: elixir-excoveralls: Update to 0.18.1, fix lint warnings., Igor Goryachev, 2024/07/02
- [bug#71707] [PATCH v4 02/15] gnu: elixir-hex: Remove redundant directory, fix lint warnings., Igor Goryachev, 2024/07/02
- [bug#71707] [PATCH v4 04/15] gnu: elixir-nimble-parsec: Update to 1.4.0., Igor Goryachev, 2024/07/02
- [bug#71707] [PATCH v4 05/15] gnu: elixir-makeup: Update to 1.1.2, make reproducible., Igor Goryachev, 2024/07/02
- [bug#71707] [PATCH v4 07/15] gnu: elixir-file-system: Update to 1.0.0., Igor Goryachev, 2024/07/02
- [bug#71707] [PATCH v4 12/15] gnu: elixir-erlex: Update to 0.2.7., Igor Goryachev, 2024/07/02
- [bug#71707] [PATCH v4 14/15] gnu: elixir-machete: Update to 0.3.3., Igor Goryachev, 2024/07/02
- bug#71707: [PATCH v4 01/15] gnu: elixir: Fix mix substitute., Andrew Tropin, 2024/07/02