branch: externals/bnf-mode
commit b02bebd8cbbd25be9330c83fe0dfd47d2091bd4d
Author: Serghei Iakovlev <[email protected]>
Commit: Serghei Iakovlev <[email protected]>
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