emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/bnf-mode b02bebd 70/74: The byte-compiler reports warni


From: Stefan Monnier
Subject: [elpa] externals/bnf-mode b02bebd 70/74: The byte-compiler reports warnings with "error"
Date: Thu, 9 May 2019 08:27:55 -0400 (EDT)

branch: externals/bnf-mode
commit b02bebd8cbbd25be9330c83fe0dfd47d2091bd4d
Author: Serghei Iakovlev <address@hidden>
Commit: Serghei Iakovlev <address@hidden>

    The byte-compiler reports warnings with "error"
---
 .travis.yml | 1 +
 Cask        | 2 +-
 Makefile    | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index b7b8adf..d5e510f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -77,6 +77,7 @@ before_script:
 script:
   - make help
   - make init
+  - make build
   # The 'checkdoc-file' present on Emacs >= 25.1
   - '[[ "$EMACS_MAJOR_VERSION" = "24" ]] || make checkdoc'
   - make test
diff --git a/Cask b/Cask
index bd39524..cea3ee7 100644
--- a/Cask
+++ b/Cask
@@ -1,4 +1,4 @@
-;; -*- mode: emacs-lisp -*-
+;; -*- mode: cask -*-
 
 (source gnu)
 (source melpa)
diff --git a/Makefile b/Makefile
index f840f6c..e73e0df 100644
--- a/Makefile
+++ b/Makefile
@@ -67,7 +67,7 @@ RUNEMACS = $(CASK) exec $(EMACSBATCH)
 endif
 
 %.elc: %.el $(PKGDIR)
-       $(RUNEMACS) -f batch-byte-compile $<
+       $(RUNEMACS) --eval '(setq byte-compile-error-on-warn t)' -f 
batch-byte-compile $<
 
 $(PKGDIR): Cask
        $(CASK) install



reply via email to

[Prev in Thread] Current Thread [Next in Thread]