|
1 |
| -;; This is a script to be loaded while visiting a CIDER source file. It will |
| 1 | +;;; cider-bytecomp-warnings.el --- Check for byte-compilation problems |
| 2 | + |
| 3 | +;; Copyright © 2012-2016 Bozhidar Batsov and contributors |
| 4 | +;; |
| 5 | +;; This program is free software: you can redistribute it and/or modify |
| 6 | +;; it under the terms of the GNU General Public License as published by |
| 7 | +;; the Free Software Foundation, either version 3 of the License, or |
| 8 | +;; (at your option) any later version. |
| 9 | + |
| 10 | +;; This program is distributed in the hope that it will be useful, |
| 11 | +;; but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | +;; GNU General Public License for more details. |
| 14 | + |
| 15 | +;; You should have received a copy of the GNU General Public License |
| 16 | +;; along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 17 | + |
| 18 | +;; This file is not part of GNU Emacs. |
| 19 | + |
| 20 | +;;; Commentary: |
| 21 | + |
| 22 | +;; This is a script to be loaded while visiting a CIDER source file. It will |
2 | 23 | ;; prepare all requirements and then byte-compile the file and signal an error
|
3 |
| -;; on any warning. For example: |
| 24 | +;; on any warning. For example: |
| 25 | +;; |
4 | 26 | ;; emacs -Q --batch -l test/cider-bytecomp-warnings.el cider-mode.el
|
5 | 27 |
|
6 | 28 | ;; This assumes that all CIDER dependencies are already on the package dir
|
|
14 | 36 | (load-file "cider-autoloads.el")
|
15 | 37 | (setq byte-compile-error-on-warn t)
|
16 | 38 | (batch-byte-compile)
|
| 39 | + |
| 40 | +;;; cider-bytecomp-warnings.el ends here |
0 commit comments