build: emacs-utils: Fail when byte compilation fails.
Byte compilation failures were ignored prior to this change. * guix/build/emacs-utils.scm (emacs-byte-compile-directory): Fail when there are compilation errors. Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
This commit is contained in:
		
							parent
							
								
									159d10ae14
								
							
						
					
					
						commit
						c1b4ad2e6e
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -60,7 +60,9 @@ | |||
| 
 | ||||
| (define* (emacs-byte-compile-directory dir) | ||||
|   "Byte compile all files in DIR and its sub-directories." | ||||
|   (let ((expr `(byte-recompile-directory (file-name-as-directory ,dir) 0))) | ||||
|   (let ((expr `(progn | ||||
|                 (setq byte-compile-debug t) ; for proper exit status | ||||
|                 (byte-recompile-directory (file-name-as-directory ,dir) 0 1)))) | ||||
|     (emacs-batch-eval expr))) | ||||
| 
 | ||||
| (define-syntax emacs-substitute-sexps | ||||
|  |  | |||
		Reference in a new issue