[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/10: build: Remove semicolons from Guile warnings.
From: |
Ludovic Courtès |
Subject: |
08/10: build: Remove semicolons from Guile warnings. |
Date: |
Mon, 01 Feb 2016 09:13:01 +0000 |
civodul pushed a commit to branch master
in repository guix.
commit a4db2dd99f83225a303febf0a1439ea67ef1768c
Author: Ludovic Courtès <address@hidden>
Date: Sun Jan 31 22:02:46 2016 +0100
build: Remove semicolons from Guile warnings.
* build-aux/compile-all.scm (compile-file*):
Clear *CURRENT-WARNING-PREFIX*.
---
build-aux/compile-all.scm | 17 ++++++++++++-----
1 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/build-aux/compile-all.scm b/build-aux/compile-all.scm
index f1704dc..7c937a0 100644
--- a/build-aux/compile-all.scm
+++ b/build-aux/compile-all.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2016 Taylan Ulrich Bayırlı/Kammer <address@hidden>
+;;; Copyright © 2016 Ludovic Courtès <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -17,6 +18,7 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(use-modules (system base target)
+ (system base message)
(ice-9 match)
(ice-9 threads)
(guix build utils))
@@ -67,11 +69,12 @@
(format #t " GUILEC ~a~%" go)
(force-output))
(mkdir-p (dirname go))
- (with-target host
- (lambda ()
- (compile-file file
- #:output-file go
- #:opts `(#:warnings ,warnings))))))
+ (with-fluids ((*current-warning-prefix* ""))
+ (with-target host
+ (lambda ()
+ (compile-file file
+ #:output-file go
+ #:opts `(#:warnings ,warnings)))))))
(match (command-line)
((_ . files)
@@ -81,3 +84,7 @@
(par-for-each (lambda (file)
(compile-file* file mutex))
files)))))
+
+;;; Local Variables:
+;;; eval: (put 'with-target 'scheme-indent-function 1)
+;;; End:
- branch master updated (e3f755f -> 47c0f92), Ludovic Courtès, 2016/02/01
- 02/10: install: Make it clear that we refer to the root by label., Ludovic Courtès, 2016/02/01
- 01/10: build: Use the right section and source for man pages., Ludovic Courtès, 2016/02/01
- 06/10: guix package: Support package transformation options., Ludovic Courtès, 2016/02/01
- 07/10: build: Really enable Guile warnings., Ludovic Courtès, 2016/02/01
- 08/10: build: Remove semicolons from Guile warnings.,
Ludovic Courtès <=
- 05/10: guix build: Separate transformation options., Ludovic Courtès, 2016/02/01
- 04/10: doc: Add subsections to 'Invoking guix build'., Ludovic Courtès, 2016/02/01
- 03/10: guix build: Transformations operate on single objects., Ludovic Courtès, 2016/02/01
- 09/10: build-system/python: Use 'ensure-keyword-arguments'., Ludovic Courtès, 2016/02/01
- 10/10: guix build: Add '--with-input'., Ludovic Courtès, 2016/02/01